bytes.cat

La wiki d'FP d'informàtica

Eines de l'usuari

Eines del lloc


django_railway

Diferències

Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.

Enllaç a la visualització de la comparació

Ambdós costats versió prèvia Revisió prèvia
django_railway [2023/05/12 13:58]
enric_mieza_sanchez [Setup BD]
django_railway [2023/05/12 14:05] (actual)
enric_mieza_sanchez [Setup BD]
Línia 31: Línia 31:
 Per realitzar això caldrà anar a Per realitzar això caldrà anar a
   Settings -> Build Command   Settings -> Build Command
 +
 +{{railway-build-settings.png}}
  
 I hi posarem les instruccions per a que tot funcioni: I hi posarem les instruccions per a que tot funcioni:
 <WRAP prewrap> <WRAP prewrap>
-  . /opt/venv/bin/activate && mkdir static && python3 manage.py collectstatic && python3 manage.py migrate && DJANGO_SUPERUSER_USERNAME=super DJANGO_SUPERUSER_PASSWORD=P@ssw0rd python3 manage.py createsuperuser --email=c@c.com --noinput+  . /opt/venv/bin/activate && mkdir static && python3 manage.py collectstatic && python3 manage.py migrate && DJANGO_SUPERUSER_USERNAME=super DJANGO_SUPERUSER_PASSWORD=P@ssw0rd python3 manage.py createsuperuser --email=appadmin@example.com --noinput
 </WRAP> </WRAP>
  
django_railway.1683899896.txt.gz · Darrera modificació: 2023/05/12 13:58 per enric_mieza_sanchez