OpenDataScotland / jkan

A lightweight, backend-free open data portal, powered by Jekyll, based on the JKAN project
https://opendata.scot
MIT License
7 stars 13 forks source link

Add docker support #6

Closed JackGilmore closed 2 years ago

JackGilmore commented 2 years ago

Description

Replicating https://github.com/timwis/jkan/pull/192 in our own instance of JKAN to allow people to run the project using Docker. Updated to Jekyll 4 as part of this change.

Motivation and Context

Should make it easier to run the project without having to mess around with installing Ruby and dependencies. Keeps the environment consistent (hopefully)

How Has This Been Tested?

Reviewed the PR for the original JKAN and it worked there. Applied the same changes to our repo and it works when running docker compose up. See screenshot below.

Screenshots (if appropriate):

image

Types of changes

Checklist:

KarenJewell commented 2 years ago

Works on my machine!

KarenJewell commented 2 years ago

Added wiki page for running JKAN locally https://github.com/OpenDataScotland/the_od_bods/wiki/How-to:-Run-frontend-locally

Note first run of docker takes a while, subsequent runs are quicker.