This document describes how to make changes to the Secure Systems Lab website and make them available at http://ssl.engineering.nyu.edu.
The SSL website is generated using Ruby
's static
site generator Jekyll
.
Making changes to the website is similar to contributing to any other of the lab's GitHub projects and includes:
- forking the corresponding source code repository secure-systems-lab/ssl-site,
- creating a branch,
- committing and pushing changes, and
- submitting a pull request.
Please refer to the lab's development guide for more details about this workflow. Instructions on how to build the website locally can be found in the secure-systems-lab/ssl-site README.md.
-
Make sure your changes have been merged into secure-systems-lab/ssl-site's
master
branch and your localmaster
branch is up-to-date (see GitHub's Syncing a Fork for more details). -
Make sure the deployment server is available as remote URL in your local repo (you only have to add the URL once).
git remote add deploy [email protected]:/var/www/ssl.engineering.nyu.edu.git
-
Push your local
master
branch to the deployment server. This activates a server-side hook, which builds the static pages so that the web server can serve them.git push deploy master
Important Note: Your ssh public key will need to be added to the .ssh/authorized_keys file on [email protected] for you to have permission to push directly.