Created
December 12, 2017 18:40
-
-
Save renefs/4fd0d253fbbd449f19c036e937ae90c2 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
cd /home/projects/project | |
. ./env/bin/activate | |
# Extract the package | |
tar -xzf package.tgz | |
rm package.tgz | |
rm ./web/project/config.py | |
cp ./config.py ./web/project/config.py | |
cd ./web | |
pip install -r requirements.txt | |
python ./manage.py makemigrations | |
python ./manage.py migrate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment