This repository contains the code for generating the site ego-n.org.
Both is possible, building the site with a local installation of Jekyll or containing Jekyll in a Docker container.
The site is served at http://localhost:4000 in both cases.
To work around Jekyll build errors, create to folders which are required
mkdir .jekyll-cache _site
jekyll serve --watch
The flag --ẁatch
sets Jekyll in autoreload mode. Whenever a file is changed, its changed are served immediately.
docker run --rm -p 4000:4000 --volume="$PWD/vendor/bundle:/usr/loc/bundle" --volume="$PWD:/srv/jekyll" -it jekyll/jekyll:3.8 jekyll serve --watch
Use the deploy script and deploy files from dev or production purpose. Deployment requires sufficient privileges on the webserver.
...will be deployed to staging.ego-n.org with restricted access
./DEPLOY staging
...will be deployed publicly accessible to ego-n.org
./DEPLOY productive