Go to file
2018-04-23 06:41:51 +00:00
_data add mobile pay links 2018-04-09 20:27:31 +02:00
_includes Merge branch 'master' of git.data.coop:ulovliglogning/ulovliglogning.dk 2018-01-25 22:39:10 +01:00
_layouts Malvers MobilePay ala. Orange 🍊 2018-04-10 22:02:13 +02:00
_pages more indentation fails 2018-04-17 19:24:01 +02:00
_scripts describe build actions 2018-04-18 22:18:02 +02:00
_scss add mobile pay links 2018-04-09 20:27:31 +02:00
assets Upload files to 'assets/files' 2018-04-23 06:35:46 +00:00
dynamic/signup f*cking ;;;;;;;;;;;,'s 2018-01-25 22:38:55 +01:00
.gitignore create deployment Docker config 2018-04-17 19:31:14 +02:00
_config.yml Polyglot couldn't exclude the .htaccess file 💩 2018-04-22 10:58:14 +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 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 Update 'htaccess' 2018-04-23 06:41:51 +00:00
README.md add static file redirects 2018-04-22 10:36:18 +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

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