forked from ulovliglogning/ulovliglogning.dk
Merge branch 'master' of graffen/ulovliglogning.dk into master
This commit is contained in:
commit
1a9cb81e82
1
Gemfile
1
Gemfile
|
@ -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
|
||||||
|
|
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)
|
||||||
|
|
9
docker-compose.yml
Normal file
9
docker-compose.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
jekyll:
|
||||||
|
image: jekyll/jekyll
|
||||||
|
command: jekyll serve --livereload --reload_port 35729
|
||||||
|
ports:
|
||||||
|
- 4000:4000
|
||||||
|
- 35729:35729
|
||||||
|
volumes:
|
||||||
|
- .:/srv/jekyll
|
Loading…
Reference in a new issue