Hitchwiki / hitchwiki

The Hitchhiker's Guide to Hitchhiking the World
https://hitchwiki.org
32 stars 9 forks source link

WIP migrate #167

Closed traumschule closed 4 years ago

traumschule commented 6 years ago

Reference: #69

Status

Preparation

  1. git clone https://github.com/traumschule/hitchwiki -b migrate; cd hitchwiki
  2. ./scripts/vagrant/install.sh or ansible-playbook deploy_remote.yml
  3. ansible-playbook hitchwiki.yml When this went fine, the fun begins:
  4. run ansible-playbook migrate.yml to import current HW dump with mwdumper This will load the latest dump from hitchwiki.org and add it to your development setup.

Steps

To migrate old content to the new setup, you need the bot in scripts/bot

  1. First get dumps from the current ('old HW') hitchwiki.org and place them in /dumps
  2. test the migration scripts for articles, spots, extras (waiting times, ratings, comments)
  3. don't forget to log the output

Related

label:migrate

optional

guaka commented 4 years ago

it's unfortunate but I don't think this will be (re)used - but please step up if you do want to (re)use some of this work