Skip to content

Leerstandsmelder/leerstandsmelder-migration-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leerstandsmelder Migration Tools

Commandline tools to migrate the legacy data to the new structure.

Install

From the root of your Leerstandsmelder API Server installation, run npm install leerstandsmelder-migration-tools.

Usage

You can then issue the following commands:

  • ./node_modules/.bin/lsm-migration --action=migrate to transfer the data from the configured MySQL instance to the MongoDB specified in the API server config file._
  • ./node_modules/.bin/lsm-migration --action=fetch to fetch the image files from the old site.
  • ./node_modules/.bin/lsm-migration --action=slugs to generate legacy slugs for old style URLs.
  • ./node_modules/.bin/lsm-migration --action=convert to convert all posts from HTML to Markdown.

About

Commandline tool to migrate the legacy data to the new structure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published