cotech-website/scripts
2018-11-09 20:56:26 +00:00
..
.gitignore Add a script for generating coop data from coops.tech mirror 2018-11-09 16:02:15 +00:00
coop.erb.md Add a script for generating coop data from coops.tech mirror 2018-11-09 16:02:15 +00:00
Gemfile Add a script for generating coop data from coops.tech mirror 2018-11-09 16:02:15 +00:00
Gemfile.lock Add a script for generating coop data from coops.tech mirror 2018-11-09 16:02:15 +00:00
migrate_coop_pages.rb Add Coop.all method to return all co-ops for migration 2018-11-09 20:56:26 +00:00
README.md Add a script for generating coop data from coops.tech mirror 2018-11-09 16:02:15 +00:00

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