lamanchy / bis

0 stars 1 forks source link

BIS backend + administration

git clone

.env do ./

db.json do ./backend/old_database_dump/

make - build docker images

make backend - run backend

docker exec -it bis-backend sh + python manage.py reset - import old db

make open_cypress - open cypress

/admin/code_login/ - login without frontend

python manage.py shell - open django shell

from bis.models import User
token = f"Token {User.objects.get(email='asdf').auth_token.key}"

git remote add dev root@dev.bis.lomic.cz:/home/git/repo.git

git push -f dev master