- a unix style terminal
- windows users must use crywigin, or preferably WSL
- Ruby > v2.4.0
- git
- Install Ruby (version 2.4.0 or higher) for your system.
- you will need to figure this step out as it varies between operating systems.
- Run the following lines of code to install all of the necessary Ruby Gems
cd site-src bundle install # run this with sudo if you want to install globally bundle update
For how to add and modify content
please read the /site-content/README.md
to learn how to add content and update the website.
But after you have added whatever content you want, just run the update-site.sh
script
to build and push (it will push for you) the site to GitHub.
Where it will take a few minutes (usually no more than 2) to republish your changes.
- Figure out what your GitHub Pages url is going to be.
- Go modify
/site-scr/_config.yml
to match this information.- Set the value of
url
to whatever the domain and protocol will be. i.e.If your GitHub Pages url is: https://<username>.github.io/<repo-name> the url field should be set to: https://<username>.github.io
- If you are using a project level site or using a url with a partial path
set the value of
baseurl
to whatever the path is. i.e.If your GitHub Pages url is: https://<username>.github.io/<repo-name> the baseurl field should be set to: <repo-name>
- Set the value of
- Go to the settings page of this repo on GitHub.
- Navigate to the "Pages" settings pain (from the nave pain on the left)
- Select the branch you want to have the website be on.
- Set the directory to
docs
, as this is where jekyll will build your site too.