forked from data.coop/website
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 months ago | |
---|---|---|
_includes | 4 years ago | |
_layouts | 4 years ago | |
_pages | 2 months ago | |
_posts | 6 years ago | |
_sass | 3 months ago | |
assets/css | 4 years ago | |
images | 3 months ago | |
js | 4 years ago | |
.drone.yml | 2 years ago | |
.gitignore | 6 years ago | |
Dockerfile | 4 years ago | |
Gemfile | 4 years ago | |
README.md | 4 years ago | |
_config.yml | 4 years ago | |
build.sh | 4 years ago | |
docker-compose.yml | 4 months ago | |
index.md | 3 months ago |
README.md
The data.coop website
Building the site
The site is built using Jekyll The simplest way to work with the site and code is to use Docker.
git clone https://git.data.coop/data.coop/website.git data.coop
cd data.coop
docker-compose up
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 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.
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.