mirror of
https://git.coop/cotech/website.git
synced 2024-11-21 22:33:05 +00:00
Mirror of https://git.coop/cotech/website
97667077e1
@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 |
||
---|---|---|
_clients | ||
_coops | ||
_includes | ||
_layouts | ||
_services | ||
_technologies | ||
_uploads | ||
app | ||
images | ||
scripts | ||
_config.yml | ||
.gitignore | ||
.gitlab-ci.yml | ||
.ruby-version | ||
about.md | ||
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
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.