5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-22 06:33:07 +00:00
Go to file
2018-12-03 14:55:16 +00:00
_clients Fix invalid YAML in _clients/now-pensions.md 2018-11-11 21:15:46 +00:00
_coops conneg test, see #52 2018-12-03 14:49:02 +00:00
_includes Merge branch 'fix-outlandish' into 'dev' 2018-11-29 16:54:36 +00:00
_layouts SVG MultiViews test 2018-12-03 14:55:16 +00:00
_services conneg test, see #52 2018-12-03 14:49:02 +00:00
_technologies conneg test, see #52 2018-12-03 14:49:02 +00:00
_uploads Added Devops 2017-07-05 20:57:24 +01:00
app #38 Use correct sturcture for HTML heading tags 2018-11-30 16:15:41 +00:00
images SVG MultiViews test 2018-12-03 14:55:16 +00:00
scripts Geocode Coop addresses to lat & long for map 2018-11-30 16:56:07 +00:00
_config.yml Put it in a docker 2018-11-30 11:56:42 +00:00
.gitignore Put it in a docker 2018-11-30 11:56:42 +00:00
.gitlab-ci.yml A few deployments tweaks 2018-11-30 18:01:32 +00:00
.ruby-version Fix ruby version to 2.5.3 2018-11-10 22:51:01 +00:00
about.md Remove use of site.github.url 2018-11-29 16:20:30 +00:00
dev Put it in a docker 2018-11-30 11:56:42 +00:00
favicon.ico Add favicon 2017-06-28 17:22:05 +01:00
Gemfile Geocode Coop addresses to lat & long for map 2018-11-30 16:56:07 +00:00
Gemfile.lock Geocode Coop addresses to lat & long for map 2018-11-30 16:56:07 +00:00
htaccess conneg test, see #52 2018-12-03 14:49:02 +00:00
index.html Add a sum of all members to the homepage 2018-11-30 13:02:21 +00:00
join.md Remove use of site.github.url 2018-11-29 16:20:30 +00:00
manifesto.md Remove use of site.github.url 2018-11-29 16:20:30 +00:00
README.md conneg test, see #52 2018-12-03 14:49:02 +00:00

CoTech Website

Introduction

This is a port of the current Wordpress version of the CoTech Website to a statically-generated site using Jekyll.

Run the site locally

You can run the site on your computer as if it were live online using Jekyll. You will need git and ruby installed on your machine to do this. Then clone the repository

... using docker

Make sure you have docker (CE is fine) installed and running, then:

git clone git@git.coop:cotech/website.git
cd website
git checkout dev
./dev

And visit localhost:4000 to view the site.

... directly on your machine

Install the dependencies for the project

git clone git@git.coop:cotech/website.git
cd website
git checkout dev
gem install bundler
bundle install

Run a local web server so that you can view the site

bundle exec jekyll server

And visit localhost:4000 to view the site.

Deploy CI

When changes are committed to the master branch the .gitlab-ci.yml file triggers the building of the site and then the copying of the results to https://static.coops.tech/ and when changes are committed to the dev branch the site at https://dev.static.coops.tech/ is updated.

Contributing

There's a list of bugs and improvements in the repository. Feel free to add more, discuss or claim any of these issues to work on.