Dealing with Dependencies
Categories:
Installing Dependencies … 🔗
… on Ubuntu
# Install repository
$ curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash –sudo apt-get update
# Install NodeJS
$ sudo apt-get install -y nodejs
# Install Dependencies of the app
$ npm install
Running … 🔗
… the application
# Download or Upload app.js to the server somehow…
# Run
$ node app.js