Add a docker-compose.yml file with livereload support and update readme to reflect #2
14
README.md
14
README.md
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue