- Clone the repository locally
- Create a new branch (e.g.,
git checkout -b add_person/<name>) - Add a picture in
images/members - Add an entry to
_data/students.yml - Check that the site builds/looks ok in a browser locally (instructions below)
- Commit and push that to GitHub
- Open a Pull Request on GitHub and the webmaster will merge it in
- Clone the repository and made updates as detailed above
- Make sure you have ruby-dev, bundler, and nodejs installed:
sudo apt install ruby-dev ruby-bundler nodejs - Run
bundle cleanto clean up the directory (no need to run--force) - Run
bundle installto install ruby dependencies. If you get errors, delete Gemfile.lock and try again. - Run
bundle exec jekyll serve -lto generate the HTML and serve it fromlocalhost:4000the local server will automatically rebuild and refresh the pages on change.
rm -r ~/code/lab_website/_publications && cp -r ~/code/portfolio/_publications ~/code/lab_website && rm -r ~/code/lab_website/images/publications && cp -r ~/code/portfolio/images/publications ~/code/lab_website/images