This is the source for the site hosted at https://autocheri.tech
Note that this source is PUBLIC, so can be viewed by any github users.
This site should be developed on your local machine and tested using the local Ruby webserver. It is easy once the pre-reqs are installed.
Follow the steps: https://jekyllrb.com/docs/ , which will:
- install ruby via chruby
- install jekyll via the gem
Once all pre-reqs are installed, simply:
bundle install
bundle exec jekyll serve --livereload
- Browse to http://localhost:4000
- Open a PR and commit your changes.
- Get approval from SecureTCU team members.
- Once pushed, Github Pages will build and deploy your changes to the live site.
Sometimes you may get the following when starting serve: Error: no acceptor (port is in use or requires root privileges)
. This means that jekyll process is already running, using the port. Kill it with:
ps aux | grep jekyll | awk '{print $2}' | xargs kill -9
When trying to run jekyll serve you may see this error.
This can be due to having 2-factor authentication set up on github, or the credentials not stored otherwise. The easiest fix for this is to generate a unique Personal Access token through github’s website, and store that in the JEKYLL_GITHUB_TOKEN environment variable.
See this post: http://blog.johannesmp.com/2017/02/13/fixing-jekyll-serve-on-windows/
- Add a table of contents to index.md using Jekyll TOC
- Add some more content
- Use a nicer template
- More