Second version of The Hunt.
TODO: fill out
This assumes a clean Ubuntu box
python2.7
, pip
, virtualenv
, npm
, nginx
. git
should already be installed.
sudo apt update
sudo apt upgrade
sudo apt install python-pip # installs python2.7
pip install --user virtualenv
pip install --user virtualenvwrapper
sudo apt install npm
sudo apt install nginx
echo "export PATH=$PATH:~/.local/bin" >> ~/.bashrc
echo "export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python2" >> ~/.bashrc
echo "export WORKON_HOME=~/.virtualenvs" >> ~/.bashrc
echo "source ~/.local/bin/virtualenvwrapper.sh" >> ~/.bashrc
source ~/.bashrc
mkvirtualenv -p /usr/bin/python2 thehuntgame
workon thehuntgame
cd ~
git clone https://github.com/iamsammak/thehuntgame.git
sudo rm /etc/nginx/sites-enabled/default
Once master is ready to be deployed, ssh into the machine and run bash scripts/deploy.sh
.