8780eca301
Also ensure newline at EOF. This was achieved by running the new normalize_coop_frontmatter.rb script which basically reads in the frontmatter, parses it and dumps it back out. I had to manually fix some telephone numbers which had been incorrectly parsed as some kind of number rather than as strings. |
||
---|---|---|
_clients | ||
_coops | ||
_includes | ||
_layouts | ||
_services | ||
_technologies | ||
_uploads | ||
app | ||
images | ||
scripts | ||
_config.yml | ||
.gitignore | ||
.gitlab-ci.yml | ||
.ruby-version | ||
about.md | ||
dev | ||
favicon.ico | ||
Gemfile | ||
Gemfile.lock | ||
index.html | ||
join.md | ||
manifesto.md | ||
README.md |
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.