How to deploy
How to deploy
All source files are in the root directory to comply with Github Pages. The CGVC website uses Jekyll to generate the raw html and resources.
Using Docker
Check the version of jekyll on github pages and use that below:
Then to start a jekyll server:
docker run --name cgvc -v "$PWD:/srv/jekyll" -p 4000:4000 -it jekyll/jekyll:3.8.6 jekyll serve --force_polling
And visit http://localhost:4000 in your browser for preview.
Using Ruby
Install
- Ruby - Required by Jekyll; OSX already has Ruby, Linux and Windows don’t. On Linux at least you’ll need
apt-get install ruby-dev
too for the headers - Bundler
gem install bundler
- Jekyll -
gem install jekyll
Setup
bundle install
Run jekyll serve
in the terminal, and visit http://localhost:4000 in your browser for preview.
Deploying to a Github Pages setup
Everything is automated, just push changes to GitHub.
Domain DNS Setup
Cloudflare is used for DNS setup and email forwarding.