HTTPS SSH

Qwerty War

Qwerty War is a JavaScript typing game inspired by Qwerty Warriors. Play at http://www.qwertywar.com/.

Dev environment setup

sudo apt install python3-pip
sudo -H pip3 install --upgrade pip
sudo -H pip3 install virtualenv
virtualenv venv
source venv/bin/activate
# for dev, only really needs django and whitenoise, the other
# dependencies in requirements.txt are for Heroku
pip install -r requirements.txt 
export DJANGO_DEBUG=1 # development only, used in settings.py
./manage.py runserver

For development, playing over and over again can be tedious, so there's an autoplay feature, activated by adding #autoplay.

Deployment to Heroku

Install git and set up ssh keys with Heroku. Does not use the heroku command line tool.

To deploy to test:

./deploy.sh

To deploy to production:

./deploy.sh production