Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.2 KB

README.md

File metadata and controls

45 lines (34 loc) · 1.2 KB

Installation and Deployment

Take a look at DEPLOY.bash. On Debian-like system, try:

bash -c "$(curl https://raw.githubusercontent.com/Babaritech/babar3/master/DEPLOY.bash)"

Don't forget to read the Django checklist. You cant get SSL certificates with letsencrypt.

Development

Both Django and Angular get a special dev server. They are available with:

cd back
source ./env/bin/activate
python3 manage.py runserver
cd front
grunt serve

Migration

To migrate the old babar database to the new one:

  • First get a JSON dump of the old DB
  • Convert it with migrate.py old.json
  • Import it in Django python3 manage.py loaddata new.json

API documentation

Available at /docs/.

Relevant ressources

Back

Front