Skip to content

codecats-tutorials/boxer_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

boxer_app

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_app

Go to cloned app

cd $_

Create virtual enviroment

virtualenv venv

Activate it

source venv/bin/activate

Go to backend content

cd boxer

Install python libs

pip install -r requirements.txt

Now clone frontend app

git clone https://github.com/codecats/boxer front

Go to frontend app

cd $_

Install javascript libs

bower install

Go to backend app

cd -

Collect static files

./manage.py collectstatic

Run server for check if everything is ok.

./manage.py runserver

run celery

  • add to supervisor celery worker

tests:

(venv)boxer_app/boxer$ celery --app=boxer.celery:app worker --loglevel=INFO 

About

boxer backend and boxer frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors