Skip to content

hackmdio/migration-to-0.5.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

migration-to-0.5.0

This is the migration tool for HackMD to upgrade to version 0.5.0.
Use this tool if you were running a old version HackMD server.
We'll uncompress note and revision data which were compressed by LZString.

Get started

  1. Stop your server.
  2. Backup your DB.
  3. Install node (at least 4.2), and run npm install.
  4. Change the db configs in config.json, see more here.
  5. Run the app.js as you need (in most case node app.js is enough), remember to keep the logs.
  6. Wait for migration, will take more time if you have large amount of data. (if migration on Revisions table is slow, it might lacking of primary key on field id)
  7. Complete!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published