Merge branch 'master' of graffen/ulovliglogning.dk into master

This commit is contained in:
ern_st 2018-01-23 11:28:27 +00:00 committed by Gitea
commit 1a9cb81e82
3 changed files with 20 additions and 4 deletions

View file

@ -18,6 +18,7 @@ gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here! # If you have any plugins, put them here!
group :jekyll_plugins do group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6" gem "jekyll-feed", "~> 0.6"
gem "jekyll-livereload"
end end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem # Windows does not include zoneinfo files, so bundle the tzinfo-data gem

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)

9
docker-compose.yml Normal file
View file

@ -0,0 +1,9 @@
jekyll:
image: jekyll/jekyll
command: jekyll serve --livereload --reload_port 35729
ports:
- 4000:4000
- 35729:35729
volumes:
- .:/srv/jekyll