File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 @echo " -> Run the Docker compose services in dev mode (hot reload on code changes)"
1919 ${COMPOSE} up
2020
21+ superuser :
22+ ${MANAGE} createsuperuser
23+
2124# #######################################################################################
2225
2326VENV_LOCATION =.venv
2427ACTIVATE? =. ${VENV_LOCATION}/bin/activate;
25- MANAGE =${VENV_LOCATION}/bin/python manage.py
28+ # MANAGE=${VENV_LOCATION}/bin/python manage.py
2629# Do not depend on Python to generate the SECRET_KEY
2730GET_SECRET_KEY =` head -c50 /dev/urandom | base64 | head -c50 `
2831# Customize with `$ make envfile ENV_FILE=/etc/dejacode/.env`
@@ -208,7 +211,4 @@ psql:
208211log :
209212 ${DOCKER_COMPOSE} logs --tail=" 100" ${SERVICE}
210213
211- createsuperuser :
212- ${DOCKER_EXEC} web ./manage.py createsuperuser
213-
214- .PHONY : virtualenv conf dev lock upgrade envfile envfile_dev check outdated doc8 valid check-deploy clean initdb postgresdb postgresdb_clean migrate run test docs build psql bash shell log createsuperuser
214+ .PHONY : virtualenv conf dev lock upgrade envfile envfile_dev check outdated doc8 valid check-deploy clean initdb postgresdb postgresdb_clean migrate run test docs build psql bash shell log superuser
You can’t perform that action at this time.
0 commit comments