Files
_clients
_coops
_includes
_layouts
_services
_technologies
_uploads
app
images
scripts
.gitignore
Gemfile
Gemfile.lock
README.md
coop.erb.md
coop.rb
migrate_clients.rb
migrate_coop_logos.rb
migrate_coop_pages.rb
migrate_services.rb
migrate_technologies.rb
.gitignore
.gitlab-ci.yml
.ruby-version
Gemfile
Gemfile.lock
README.md
_config.yml
about.md
dev
favicon.ico
index.html
join.md
manifesto.md
cotech-website/scripts
Chris Lowis 146177184c Add script to migrate clients from wordpress mirror
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`.
2018-11-11 21:11:19 +00:00
..
2018-11-11 21:11:00 +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