Go to file
2018-07-07 15:49:53 +02:00
_data Ret et par typos 2018-05-29 22:01:47 +02:00
_includes fix camera position 2018-04-25 17:44:17 +02:00
_layouts Tilføjet nyt FAQ-format med korte og lange svar 2018-05-29 21:45:50 +02:00
_pages Opdateret beløb 2018-06-26 00:48:37 +02:00
_plugins first try at a donation counter 2018-03-24 14:34:12 +01:00
_scripts change lftp sync option 2018-04-25 17:41:44 +02:00
_scss Tilføjet nyt FAQ-format med korte og lange svar 2018-05-29 21:45:50 +02:00
assets multistage donation counter 2018-04-30 15:03:08 +02:00
dynamic/signup f*cking ;;;;;;;;;;;,'s 2018-01-25 22:38:55 +01:00
.gitignore Add Gemfile.lock to .gitignore 2018-07-07 15:49:33 +02:00
_config.yml Opdateret beløb 2018-06-26 00:48:37 +02:00
docker-compose-deploy.yml better/prettier error handling on deploy 2018-04-17 23:40:25 +02:00
docker-compose.yml Add docker-compose file 2018-01-22 16:34:17 -08:00
Gemfile Gemfile: Remove version dependency jekyll-feed 2018-07-07 15:49:53 +02:00
Gemfile.lock Add Gemfile.lock to .gitignore 2018-07-07 15:49:33 +02:00
googled7074ec4974cc1c7.html add google site verification 2018-04-22 10:34:09 +02:00
htaccess Opdateret beløb 2018-06-22 13:17:08 +02:00
README.md README: Add comments about running the dev-site on Windows 2018-07-07 15:49:27 +02:00

Jekyll site for ulovliglogning.dk

To work on the code, either

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

Install dependencies

bundle install

Build the site local

bundle exec jekyll serve

You can now see the site at localhost:4000

Or install Jekyll localy on Windows

If using Ruby >=2.5 be sure to remove version numbers from dependency Gemfile gems and remember to also delete Gemfile.lock compiling Jekyll site.

You will also need to recompile the gem 'eventmachine' locally. gem install --platform ruby eventmachine

Deploy

If not using Docker, it's important that you build the site with JEKYLL_ENV=production bundle exec jekyll build before deploying the contents of the _site directory. We're doing some debugging stuff when the project is build in the development env.

Deploy to FTP with Docker

Make sure that you have created a file in _scripts/ called config.sh, (protip: just duplicate the config-example.sh file, and set the correct values, you should only need to change username and password.) Then you can build the site ande deploy it by running docker-compose -f docker-compose-deploy.yml up

This will execute a Docker container and do the following:

  1. Build the site but fail if there are any Frontmatter errors
  2. Upload the contents of the _site/ directory to the FTP server
  3. That's it…

Structure

The contents of the index pages is defined in the frontmatter of the files _pages/index-<language>.md