website_rasmus/README.md

26 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2017-02-06 12:41:19 +00:00
# The data.coop website
2019-03-03 16:52:25 +00:00
[![Build Status](https://drone.data.coop/api/badges/data.coop/website/status.svg)](https://drone.data.coop/data.coop/website)
2017-02-06 12:41:19 +00:00
## Building the site
The site is built using [Jekyll](https://jekyllrb.com)
The simplest way to work with the site and code is to use Docker.
2018-06-22 07:00:57 +00:00
```
git clone https://git.data.coop/data.coop/website.git data.coop
cd data.coop
docker-compose up
```
2017-02-06 12:41:19 +00:00
This will fire up the website inside a Docker container and start listening on port 4000.
Simply connect your browser to http://localhost:4000 and you're good to go. In development
mode, the site has the [jekyll:livereload](https://github.com/RobertDeRose/jekyll-livereload) extension enabled, allowing you to see your changes immediately
upon saving files in the source directory.
If you change anything in `Gemfile` you need to run `docker-compose run jekyll bundle update` to update all your dependencies.
2017-02-06 12:41:19 +00:00
## Deploying the site
Simply pushing to `master` in our main repo at https://git.data.coop/data.coop/website/ will trigger a build-and-deploy of the website.