mirror of
https://git.coop/cotech/website.git
synced 2024-12-18 00:33:06 +00:00
.. | ||
.gitignore | ||
coop.erb.md | ||
coop.rb | ||
Gemfile | ||
Gemfile.lock | ||
geocode_coop_addresses.rb | ||
migrate_clients.rb | ||
migrate_coop_logos.rb | ||
migrate_coop_pages.rb | ||
migrate_services.rb | ||
migrate_technologies.rb | ||
normalize_coops_frontmatter.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