This is a rewrite of http://vietcong1.eu into a Django-powered project. Originally, only server fetching mechanism was written in Python, the rest of back-end being PHP/Nette.
Needed: Python 3
git clone https://github.com/garncarz/vietcong1.eu.gitvirtualenv3 virtualenv- Make sure
virtualenv/binis inPATH. cd vietcong1.eupip install -r requirements.txt- Create
vietcong/settings/local.py, it should begin withfrom .base import *, settings override and specifications should follow. Or you can justfrom .development import *if you're developing.
Run:
$ cd front_end
$ npm install
$ node_modules/.bin/bower install
$ node_modules/.bin/gruntNeeded:
./manage.py migratefor synchronizing the database schema../manage.py compilemessagesfor compiling translations (gettext needed).
Run:
./manage.py runserver when developing.
./manage.py demo fills DB with randomly generated content.
./manage.py test
With coverage: coverage run --source='.' ./manage.py test, then coverage report or coverage html.