Add a script for generating coop data from coops.tech mirror

This commit is contained in:
Chris Lowis
2018-11-09 16:02:15 +00:00
parent 40f7f42ec2
commit 5ca9d98343
6 changed files with 208 additions and 0 deletions

19
scripts/README.md Normal file
View File

@ -0,0 +1,19 @@
# Scripts
This directory contains scripts for migrating data from wordpress to jekyll.
It relies on a local mirror of the [archived CoTech website](https://coops.tech.archived.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