Boxer is complete app. This project has two repositories. Repository name: boxer - for frontend app, boxer_app - backend app with linked frontend app only for testing.
To run complete application: Frontend app should be cloned from https://github.com/codecats/boxer and putted to front directory. Installation frontend into backed application:
- ./manage.py collectstatic
- Update boxer/templates/index.html from frontend index.html - {{ STATIC_URL }}(/app) has to be added
Full app install
Clone backend app
git clone https://github.com/codecats/boxer_app boxer_appGo to cloned app
cd $_Create virtual enviroment
virtualenv venvActivate it
source venv/bin/activateGo to backend content
cd boxerInstall python libs
pip install -r requirements.txtNow clone frontend app
git clone https://github.com/codecats/boxer frontGo to frontend app
cd $_Install javascript libs
bower installGo to backend app
cd -Collect static files
./manage.py collectstaticRun server for check if everything is ok.
./manage.py runserverrun celery
- add to supervisor celery worker
tests:
(venv)boxer_app/boxer$ celery --app=boxer.celery:app worker --loglevel=INFO