mirror of
https://git.coop/cotech/website.git
synced 2024-11-04 23:48:43 +00:00
0e6c62df0d
This script copies the service logos, normalises the file names and creates a corresponding entry in `_services`. |
||
---|---|---|
.. | ||
.gitignore | ||
coop.erb.md | ||
coop.rb | ||
Gemfile | ||
Gemfile.lock | ||
migrate_coop_logos.rb | ||
migrate_coop_pages.rb | ||
migrate_services.rb | ||
migrate_technologies.rb | ||
README.md |
Scripts
This directory contains scripts for migrating data from wordpress to jekyll.
It relies on a local mirror of the archived CoTech website which you can create by running
mkdir mirror
cd mirror
httrack https://coops.tech.archived.website/
httrack
is available via homebrew
on MacOS.
You then need to install dependencies from rubygems by running
bundle install
Creating data files in _coops
ruby migrate_coop_pages.rb