Update readme with docker-compose info

This commit is contained in:
Jesper Hess 2018-01-22 16:44:22 -08:00
parent 30a954ff4d
commit 1874ba9234
Signed by untrusted user: graffen
GPG key ID: 351A89E40D763F0F

View file

@ -1,14 +1,20 @@
# Jekyll site for ulovliglogning.dk # Jekyll site for ulovliglogning.dk
## Install ## To work on the code, either
### Install Jekyll and Bundler gems through RubyGems ### Use docker
You need docker-compose. Simply run
`docker-compose up` to launch the site in a docker container with livereload support.
### Or install Jekyll locally
#### Install Jekyll and Bundler gems through RubyGems
`gem install jekyll bundler` `gem install jekyll bundler`
### Install dependencies #### Install dependencies
`bundle install` `bundle install`
### Build the site local #### Build the site local
`bundle exec jekyll serve` `bundle exec jekyll serve`
You can now see the site at [localhost:4000](http://localhost:4000) You can now see the site at [localhost:4000](http://localhost:4000)