Skip to content

Managing the production environment

Daniel Kong edited this page May 6, 2016 · 2 revisions

Maintaining the live site

The website runs as the ruddweb user on the server, and the live version of the code is located in /home/ruddweb/RuddockWebsite/ (it's a git repository).

To push changes, you must be in the sudo group. After pushing changes to the Github repository, you can update the website by running:

sudo su ruddweb
cd ~/RuddockWebsite
git pull origin master
exit # Back to your login account.
sudo service apache2 restart