5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-21 22:33:05 +00:00
Go to file
Chris Lowis 97667077e1 Attempt to deploy site
@chris has setup a server[1] and added the public half of a key pair
generated using `ssh-keygen -o -t rsa -b 4096` as per the instructions
on docs.gitlab.com[2].

The `before_script` was taken from the same instructions. I set the
two variables SSH_PRIVATE_KEY and SSH_KNOWN_HOSTS in the CI/CD
settings[3].

To see if this works I'm calling `rsync` in the `script` section of
the deploy stage, using the dry-run option, `-n`.

[1] https://git.coop/cotech/website/issues/4#note_9890
[2] https://docs.gitlab.com/ee/ci/ssh_keys/#ssh-keys-when-using-the-docker-executor
[3] https://git.coop/cotech/website/settings/ci_cd
2018-11-13 20:19:19 +00:00
_clients Fix invalid YAML in _clients/now-pensions.md 2018-11-11 21:15:46 +00:00
_coops Fix twitter link and quote : in dev-the-developers-society.md 2018-11-10 21:21:18 +00:00
_includes Extract Mapbox access token into config 2017-07-01 20:16:37 +01:00
_layouts Fix client name under logo on co-op pages 2018-11-11 21:20:38 +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 Enable map for home page 2017-07-01 20:03:52 +01:00
images Convert all client images to png 2018-11-11 21:14:42 +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 Attempt to deploy site 2018-11-13 20:19:19 +00:00
.ruby-version Fix ruby version to 2.5.3 2018-11-10 22:51:01 +00:00
about.md Updated About 2017-07-06 10:55:00 +01:00
favicon.ico Add favicon 2017-06-28 17:22:05 +01:00
Gemfile Add github-pages Gem 2017-06-27 14:18:47 +01:00
Gemfile.lock Update github-pages 140 -> 192 2018-11-05 21:02:29 +00:00
index.html Fix members grid on homepage 2018-11-10 21:23:50 +00:00
join.md Updated Config and 19 other files 2017-07-05 20:36:03 +01:00
manifesto.md Updated Config and 19 other files 2017-07-05 20:36:03 +01:00
README.md Update README.md 2018-11-12 21:29: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

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.

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.