Updating the website

Step-by-step guide

ssh railsprod sudo -u railsuser bash cd spe_website git pull jekyll build cp /var/www/spe_website/_site/index.html /var/www/hyrax-UAlbany/public

Web should update instantly after a browser refresh.

If changes still don't appear after a refresh, try restarting the server.

To restart the server:

exit sudo systemctl restart nginx



(You need to be mwolfe to restart the server)

Related articles