You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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