Skip to content
Snippets Groups Projects
Commit 40a6bc4f authored by Martin Bergemann's avatar Martin Bergemann :speech_balloon:
Browse files

Merge branch 'update_web_registry' into 'master'

Add collectstatic command

See merge request !26
parents ec4e5f1f 15e649ad
No related branches found
Tags v2205.1.3
1 merge request!26Add collectstatic command
Pipeline #19811 passed
#!/bin/bash #!/bin/bash
export PATH=/opt/condaenv/bin:$PATH
export DJANGO_SUPERUSER_PASSWORD=$1 export DJANGO_SUPERUSER_PASSWORD=$1
export DJANGO_SUPERUSER_EMAIL=admin@freva.de export DJANGO_SUPERUSER_EMAIL=admin@freva.de
if [ -z $1 ];then if [ -z $1 ];then
...@@ -6,9 +7,10 @@ if [ -z $1 ];then ...@@ -6,9 +7,10 @@ if [ -z $1 ];then
exit 1 exit 1
fi fi
/opt/condaenv/python manage.py migrate --fake contenttypes python manage.py migrate --fake contenttypes
/opt/condaenv/python manage.py migrate --fake-initial --noinput python manage.py migrate --fake-initial --noinput
/opt/condaenv/python manage.py createsuperuser \ python manage.py collectstatic --noinput
python manage.py createsuperuser \
--noinput \ --noinput \
--username freva-admin \ --username freva-admin \
--email $DJANGO_SUPERUSER_EMAIL || echo 0 --email $DJANGO_SUPERUSER_EMAIL || echo 0
__version__ = "2205.1.2" __version__ = "2205.1.3"
AVAILABLE_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10"] AVAILABLE_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10"]
AVAILABLE_CONDA_ARCHS = [ AVAILABLE_CONDA_ARCHS = [
"Linux-x86_64", "Linux-x86_64",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment