If the project of your website is stored on bitbucket, after the updates, you will need to use the following command:
1 |
git pull |
After your reposit can ask for a password, than you will have to give a path to your reposit and a password.
1 |
Password for 'Path to your reposit': Password |
In case if you have some changes on your server but not on bitbucket and you don’t want to update it, than use the following command:
1 |
ctrl+X |
Further make the following command, it makes compilation of your changes.
1 |
python manage.py compilemessages |
And the last step is Apache restart. It will connect all of your changes an put them life
1 |
sudo /etc/init.d/apache2 restart |
Now refresh your website and enjoy the changes. If you don’t see them, may be you have to delete cache or check them in a private browser.
One single command for uploading your updates from bitbucket
1 |
python manage.py compilemessages |