Created
August 26, 2017 21:00
-
-
Save camilonova/871573a4dacbadf29e8fc0b76abcd9c0 to your computer and use it in GitHub Desktop.
Deploy multiple sites with uwsgi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install | |
bower install | |
gulp compile-sass | |
. ../bin/activate | |
pip install -r requirements.txt | |
python manage.py collectstatic --noinput | |
python manage.py compilemessages | |
for i in $( ls -a app/settings_*.py | cut -d "." -f 1 | tr '/' '.' ); do | |
python manage.py migrate --noinput --settings=$i | |
done | |
touch app/local_settings.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment