A customer support system for a fictional online game.
- Download code with "git clone https://github.com/myenigmamachine/kixeye.git"
- cd kixeye
- Install nessesary packages with "pip install -r kixeye/requirements.txt"
- Install contained package with "python setup.py install"
- Run the below commands to create a certificate for HTTPS/SSL support
- Note: Please install openssl first if it is not already installed on your machine
openssl genrsa -out kixeye.key 2048
openssl req -new -key kixeye.key -out kixeye.csr
openssl x509 -req -days 365 -in kixeye.csr -signkey kixeye.key -out kixeye.crt
- Sync database with "python manage.py syncdb"
- Recommended: Create an admin user for testing
- Run "uwsgi --master --https 0.0.0.0:8000,kixeye.crt,kixeye.key --post-buffering 1 --wsgi-file kixeye/wsgi.py" to run the app.
- visit https://localhost:8000/admin/ to create a user (you'll need the Admin app enabled).
- Explore the site
OPTIONAL:
- Generate dummy database entries with "./scripts/populate_data.sh"
- Note: This script assumes a user with username "admin" and password "password" to populate data.
- Run tests with "python manage.py test"
- Check out the /users and /battles views to see all profiles and all battles