Find a file
2020-09-15 21:08:10 +02:00
.sass-cache/67657cef7d9c5a6bf84161ba921164506eeaf88b added question partial 2020-02-27 21:48:17 +01:00
content Merge branch 'design-faq' 2020-09-15 21:05:50 +02:00
docs Update tags.md 2020-09-10 23:40:16 +02:00
layouts Merge branch 'design-faq' 2020-09-15 21:05:50 +02:00
lib render verenigingen projecten and konventen with the same detail layout 2020-09-15 20:25:58 +02:00
.gitignore Add .idea to gitignore 2020-02-28 01:44:59 +01:00
.ruby-version Ruby 2.7.1 🎉 2020-08-28 21:42:17 +02:00
deploy.sh Fix links 2020-02-28 13:26:02 +01:00
Dockerfile Add dockerfile, create development deps group 2020-08-29 14:56:36 +02:00
Gemfile Remove unused dependencies 2020-09-15 19:32:40 +02:00
Gemfile.lock Merge remote-tracking branch 'origin/Quiz' into master 2020-09-04 22:25:13 +02:00
Guardfile add gemfile and guardfile 2020-02-27 19:43:36 +01:00
Makefile Improve README and Makefile 2020-09-15 17:37:54 +02:00
nanoc.yaml themes are feeling a bit blue 2020-09-13 12:28:36 +02:00
README.md Improve README and Makefile 2020-09-15 17:37:54 +02:00
Rules Merge branch 'design-faq' 2020-09-15 21:05:50 +02:00

durfdoen-2.0

Durf Doen 2.0

Setup instructions

  1. Install Ruby, preferably the version specified in .ruby-version
  2. Install bundler (gem install bundler)
  3. Install other dependencies (bundle install)
  4. Build and serve the site (bundle exec nanoc live)

To build the artefacts for production: bundle exec nanoc

Setup on windows

This is very flaky, but it might help to

  • Of course only install Ruby 2.6
  • Change gem 'mini_racer' to gem 'mini_racer', platforms: :ruby in Gemfile
  • Follow this GitHub page https://github.com/eakmotion/therubyracer_for_windows
  • Edit this file C:\Ruby26-x64\lib\ruby\gems\2.6.0\gems\eventmachine-1.2.7-x64-mingw32\lib, adding require 'em pure_ruby' and a newline to the top of the file
  • After all this, on my machine, it still throws an exception, but the live reloading works, until it doesn't (most of the time after a failed compile)

Optional setup via Docker

You can run the code in a separated Docker environment. It compiles the code and serves the files via nginx.

docker build --tag durfdoen2 . && docker run --publish 8080:80 --detach --name dd durfdoen2