Last active
January 28, 2019 16:44
-
-
Save DorkNstein/1ac98841e50fa14e8ed423127e015803 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum update -y | |
sudo yum install -y git gcc-c++ openssl-devel make | |
git clone git://github.com/creationix/nvm.git ~/.nvm | |
printf "\n\n# NVM\nif [ -s ~/.nvm/nvm.sh ]; then\n\tNVM_DIR=~/.nvm\n\tsource ~/.nvm/nvm.sh\nfi" >> ~/.bashrc | |
NVM_DIR=~/.nvm | |
source ~/.nvm/nvm.sh | |
nvm ls-remote | |
nvm install v10.15.0 # (Latest LTS) | |
node -v | |
npm -v | |
cd ~ | |
git clone https://github.com/quantyme/quantyme.git | |
cd quantyme | |
npm i | |
# If it throws error | |
rm -rf node_modules/ package-lock.json | |
npm i | |
# Make a build | |
npm install -g angular-cli | |
npm run build:dev | |
# Run server | |
npm i pm2 -g | |
cd ~/quantyme | |
pm2 start server.config.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment