Do this installation process on a dummy account with sudo.
Linux:
- git clone https://github.com/cjordog/NRLWebsite; cd NRLWebsite
- copy the following into a file called .env AUTH0_CLIENT_ID="toyCVGt8l5mNrfNDmcsGi57YjyF03KHL" AUTH0_DOMAIN="oceantuneucla.auth0.com" AUTH0_CLIENT_SECRET="t-BcTu43rj5EjTAmvfYPLfDvwwyEZhpdpsgKsFABC5T7XxX1ROSB4esRY8LhHmhR" AUTH0_CALLBACK_URL = "http://45.79.96.15:80/callback"
- change AUTH0_CALLBACK_URL to "http://serverURL:80/callback"
- change the host in demo/app.js on line 343 to the serverURL
- add http://serverURL:80/callback to the callback list on the auth0 oceantuneUCLA website. Ask CJ or Steven for the account details.
- ./exportStart
- sudo apt-get install nodejs 8 sudo ln -s /usr/bin/nodejs /usr/bin/node
- sudo apt-get install npm
- npm install
- screen
- npm start
- ctrl-A, ctrl-D
Mac:
- git clone https://github.com/cjordog/NRLWebsite; cd NRLWebsite
- ssh-keygen
- cat ~/.ssh/id_rsa.pub | ssh user@machine "cat >> ~/.ssh/authorized_keys"
- ./exportStart
- brew install node
- brew install npm
- npm install
- npm start