This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
piku
kopia lustrzana
https://github.com/piku/piku
Obserwuj
1
Polub
0
Forkuj
You've already forked piku
0
Kod
Zgłoszenia
Packages
Projekty
Wydania
Wiki
Aktywność
6556706e4a
piku
/
examples
/
python-django
/
bin
/
provision-database
5 wiersze
79 B
Plaintext
Czysty
Zwykły widok
Historia
Unescape
Escape
Example Django app deployment with Piku. (#43) This change requires PRs #38 #39 #41 to work properly.
2019-06-23 14:50:24 +00:00
#!/bin/sh
Move release worker to end of deploy. (#50) * Move release worker to end of deploy. This matches up with what other PaaS platforms do. This change also makes the release worker inherit the environment (virtualenv etc.) from the deploy process, making it easier to run e.g. Django manage.py commands in the expected context without explicitly entering virtualenv in the script. * Update Django example to remove virtualenv. Now that this happens automatically we don't need to explicitly enter virtualenv in the script. * Pass spawn env back through to release worker. Conflicts: piku.py
2019-06-28 11:59:12 +00:00
./manage.py migrate --no-input
./manage.py collectstatic --no-input