Skip to content

hnuti-brontosaurus/bis

Repository files navigation

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

# Testing uses plugin for local storage
npm i --save-dev cypress-localstorage-commands
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 [email protected]:/home/git/repo.git

git push -f dev master