Defacto website
Clone or download
lennartdefacto and RonaldDijkstra Add Klantendag blog and update news items (#1580)
* Add Klantendag blog and update news items

* Update text and Add images to blog

* Optimized images and implemented feedback on blog text
Latest commit 8ab1d0e Nov 15, 2018

README.md

Defacto Websites

CircleCI branch GitHub issues GitHub pull requests

The source code for our websites, built with Middleman:

https://www.defacto.nl
https://www.defactolearning.de
https://en.defacto.nl

More detailed information can be found at the Wiki.

Dependencies

  • Ruby 2.3.3 (install with rbenv)
  • Bundler

To install other dependencies run bundle install from the root of the project.

Server

Start Middleman server and browse to http://localhost:4567:

rake serve:nl
rake serve:de
rake serve:en

Build

rake build:nl
rake build:de
rake build:en

Test (and build before)

rake test:nl
rake test:de
rake test:en
rake test # Test all build with HTML-proofer

Stage (and build before)

We can stage a version of the website in one locale:

rake deploy_staging:nl
rake deploy_staging:de
rake deploy_staging:en

Staging is deployed to website-staging/tree/gh-pages

Deploy (and build before)

rake deploy:nl
rake deploy:de
rake deploy:en
rake deploy # Deploy all locales

:nl is deployed to website/tree/gh-pages.
:de is deployed to website-de/tree/gh-pages.
:en is deployed to website-en/tree/gh-pages.

Useful links for debugging

Thanks

Thanks to ❤️