Go to file
Rasmus Malver 1aac28dce1
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Format fix win-win
2021-06-27 19:00:43 +02:00
_data Ret et par typos 2018-05-29 22:01:47 +02:00
_includes Opdateret twitter-card til ny størrelse og Montserrat. QR-kode nu med foreslået beløb på 200 kr. 2020-01-02 12:36:57 +01:00
_layouts Opdateret tekst og forsøgt at udkommentere nyhedsbrevs-tilmelding 2021-05-14 13:32:56 +02:00
_pages Format fix win-win 2021-06-27 19:00:43 +02:00
_plugins first try at a donation counter 2018-03-24 14:34:12 +01:00
_scripts fix broken file paths 2019-10-11 16:57:25 +02:00
_scss fix broken file paths 2019-10-11 16:57:25 +02:00
assets Opdateret efter retsmøder 2021-05-06 15:34:12 +02:00
booklet Remove automatic formatting… 2019-05-14 21:28:09 +02:00
dynamic/signup f*cking ;;;;;;;;;;;,'s 2018-01-25 22:38:55 +01:00
.drone.yml add drone config and Dockerfile 2020-01-02 22:17:54 +01:00
.gitignore Retter tab til space 2021-04-26 13:19:02 +02:00
_config.yml Opdateret til beløb der matcher regnskabet og kontobevægelser 2021-01-04 til dd 2021-05-03 23:59:55 +02:00
docker-compose-deploy.yml freeze jekyll version 2018-11-19 19:20:12 +01:00
docker-compose.yml freeze jekyll version 2018-11-19 19:20:12 +01:00
Dockerfile out comment rewrite debug 2020-01-14 23:02:43 +01:00
Gemfile Moved jekyll-autoprefixer to jekyll_plugins 2018-01-26 11:25:12 +01:00
Gemfile.lock Changed octopress-autoprefixer to jekyll-autoprefixer 2018-01-26 11:14:55 +01:00
googled7074ec4974cc1c7.html add google site verification 2018-04-22 10:34:09 +02:00
htaccess Bedre kortlink til materialesamling 2021-05-06 15:35:40 +02:00
mail.php Forsøger at lave php file_put til signup 2 2021-04-27 09:20:21 +02:00
README.md test drone upgrade 2020-03-02 21:00:34 +00:00
signup.csv Forsøger at lave php file_put til signup 2021-04-27 09:12:31 +02:00

Build Status

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

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