mirror of
https://git.coop/cotech/website.git
synced 2024-11-22 14:43:07 +00:00
146177184c
This script iterates over all of the coops to pull their clients from the individual co-op pages, normalises the filenames of the images and creates an entry under `_clients`. |
||
---|---|---|
.. | ||
.gitignore | ||
coop.erb.md | ||
coop.rb | ||
Gemfile | ||
Gemfile.lock | ||
migrate_clients.rb | ||
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