-
Notifications
You must be signed in to change notification settings - Fork 40
Testing Locally
Disclaimer:
This has been tested on Unix and Macs. We don't think it's going to work on Windows.
You will need Ruby. We recommend using RVM for setting up and managing the Ruby environment for this site.
-
install RVM
-
install Ruby 1.9.3
rvm install 1.9.3 -
prepare an environment (called gemset)
rvm use 1.9.3 rvm gemset create pintorg rvm use 1.9.3@pintorg -
in the root of this repository on the
sourcebranch runbundle install -
once in a while run (i.e. every month or so)
bundle updateto pick up updates of the installed and dependent gems.
First activate your local Ruby environment with rvm use 1.9.3@pintorg.
Then you can simply run jekyll serve --watch and it will build the site, serve it at localhost:4000 (or 127.0.0.1:4000) and update whenever you change some files for immediate inspection in your favourite browser.
In case you altered the configuration files (i.e. _config.yml) or one of the custom Jekyll plugins (in _plugins) you will have to stop and restart jekyll serve.