5
0
mirror of https://git.coop/cotech/website.git synced 2024-12-23 11:05:24 +00:00
Go to file
Chris Lowis 6d12b87675 Show 6 random clients on homepage
Showing all of the client logos adds a considerable amount to the page
weight of the page. This change shows 6 random clients. It will be
re-generated each time the page is deployed, which might be OK for
now, although we could add timed pipeline to keep this fresh/fair.
2018-11-29 17:22:09 +00:00
_clients Fix invalid YAML in _clients/now-pensions.md 2018-11-11 21:15:46 +00:00
_coops Merge branch 'fix-outlandish' into 'dev' 2018-11-29 16:54:36 +00:00
_includes Merge branch 'fix-outlandish' into 'dev' 2018-11-29 16:54:36 +00:00
_layouts Remove use of site.github.url 2018-11-29 16:20:30 +00:00
_services Migrate services from old site 2018-11-10 22:08:20 +00:00
_technologies Migrate technologies from old site 2018-11-10 21:53:06 +00:00
_uploads Added Devops 2017-07-05 20:57:24 +01:00
app Metadata added to <head> and footer updated 2018-11-18 18:43:07 +00:00
images Greenpeace client image 2018-11-29 15:59:06 +00:00
scripts Add script to migrate clients from wordpress mirror 2018-11-11 21:11:19 +00:00
_config.yml Exclude scripts directory when building site 2018-11-10 21:10:18 +00:00
.gitignore Ignore generated files 2017-06-27 14:20:39 +01:00
.gitlab-ci.yml Fixup CI 2018-11-29 16:07:23 +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
favicon.ico Add favicon 2017-06-28 17:22:05 +01:00
Gemfile Use branch of jekyll-sass-converter to fix deprecation warning 2018-11-22 21:10:22 +00:00
Gemfile.lock Use branch of jekyll-sass-converter to fix deprecation warning 2018-11-22 21:10:22 +00:00
index.html Show 6 random clients on homepage 2018-11-29 17:22:09 +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 README updated 2018-11-29 14:53:51 +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

git clone git@git.coop:cotech/website.git

Install the dependencies for the project

cd website
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.