Skip to content

Instantly share code, notes, and snippets.

@HugoJBello
Last active October 26, 2018 16:41
Show Gist options
  • Save HugoJBello/fef27db452a46867e1cd4578127e1706 to your computer and use it in GitHub Desktop.
Save HugoJBello/fef27db452a46867e1cd4578127e1706 to your computer and use it in GitHub Desktop.
install required stuff nodejs server in google cloud engine
# https://medium.com/google-cloud/node-to-google-cloud-compute-engine-in-25-minutes-7188830d884e
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
sudo apt install nodejs
sudo apt-get install python3-pip
#https://docs.python-guide.org/dev/virtualenvs/#virtualenvironments-ref
pip3 install virtualenv
#virtualenv env
#source env/bin/activate # On Windows use `env\Scripts\activate`
#pip freeze > requirements.txt
apt-get install screen
# screen -> run command -> Ctrl + a + d
apt-get install psmisc
# killall node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment