Notifications
Clear all
Microsoft
1
Posts
1
Users
1
Likes
214
Views
0
20/05/2023 2:30 pm
Topic starter
I'm exploring my abilities to build and launch a nodejs SPA in a Linux environment - i'm proficient in Linux programming, but need a little walkthrough in setting up a nodejs SPA.
1 Answer
1
20/05/2023 2:32 pm
Topic starter
On your server, create a 'nodejs_install.sh' file in your applications root directory and add the following bash script, save and run.
#!/bin/bash ##Update server yum update \ -y ##Setup Nodejs repository curl -sL https://rpm.nodesource.com/setup_13.x | sudo bash - ##Install NPM and Node.js 13.x yum install nodejs \ -y ##Install Development Tools to build native addons yum install gcc-c++ \ make ##Check Node.js and NPM version node -v \ && npm -v ##--End--
Hope this helps! 🙂