creating first admin and update restrictions for ordinary users
This commit is contained in:
4
makefile
4
makefile
@@ -2,9 +2,9 @@ VENV=source ./.venv/bin/activate;
|
||||
ALEMBIC=alembic -c ./server/backend/database/alembic/alembic.ini
|
||||
.PHONY: run run_debug migrate_head migrate_down migrate_history migrate_current migrate
|
||||
run:
|
||||
$(VENV) python run.py
|
||||
$(VENV) python run.py --user_name admin
|
||||
run_debug:
|
||||
$(VENV) python run.py --mode debug
|
||||
$(VENV) python run.py --mode debug --user_name admin
|
||||
migrate_head:
|
||||
$(VENV) $(ALEMBIC) upgrade head
|
||||
migrate_down:
|
||||
|
||||
Reference in New Issue
Block a user