-
Notifications
You must be signed in to change notification settings - Fork 5
Updating your code
Riccardo Campisano edited this page Jul 24, 2017
·
1 revision
cd ~/dri
git checkout develop
git pull
source env/bin/activate
# update dependencies packages
pip3 install -r api/requirements_dev.txt
# update database model
python api/manage.py migrate
deactivate
sudo service apache2 restart
cd ~/dri
git commit ... # commit your code
git checkout develop
git pull
git checkout <YOUR_BRANCH>
git merge develop
# fix and commit conflicts if needed
source env/bin/activate
# update dependencies packages
pip3 install -r api/requirements_dev.txt
# update database model
python api/manage.py migrate
deactivate
sudo service apache2 restart