Initial commit - existing project files
This commit is contained in:
commit
c49798a9ea
82 changed files with 4304 additions and 0 deletions
16
lib/setup-application.sh
Normal file
16
lib/setup-application.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
# enable debugging for this command
|
||||
export DJANGO_DEBUG="true"
|
||||
|
||||
python3 "$(pwd)/lib/generate-secret-key.py"
|
||||
|
||||
source "$(pwd)/lib/db-migrations.sh"
|
||||
|
||||
python3 $(pwd)/lib/upgrade-db.py
|
||||
|
||||
echo -e "\nCreate admin account. Email is optional.\n"
|
||||
source "$(pwd)/lib/create-admin.sh"
|
||||
|
||||
python3 $(pwd)/application/manage.py collectstatic --noinput
|
Loading…
Add table
Add a link
Reference in a new issue