Skip to content
 
 

Repository files navigation

reGon / eGon project website

This repository contains the code for generating the site rego-n.org.

Build and serve the site locally

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

Local installation

jekyll serve --watch

The flag --ẁatch sets Jekyll in autoreload mode. Whenever a file is changed, its changed are served immediately.

Docker container

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

Deploy to webserver

Use the deploy script and deploy files from dev or production purpose. Deployment requires sufficient privileges on the webserver.

Development

...will be deployed to staging.rego-n.org with restricted access

./DEPLOY staging

Development

...will be deployed publicly accessible to rego-n.org

./DEPLOY productive

About

eGo^n project website

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages