diff options
| author | Pitu <[email protected]> | 2021-03-25 00:09:33 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2021-03-25 00:09:33 +0900 |
| commit | abd7a1ca2e058854e6335b54f4119f009961a5ab (patch) | |
| tree | 80676308a3856947a8e927649a171d57fa5b752d /docs/migrating.md | |
| parent | wip (diff) | |
| download | host.fuwn.me-abd7a1ca2e058854e6335b54f4119f009961a5ab.tar.xz host.fuwn.me-abd7a1ca2e058854e6335b54f4119f009961a5ab.zip | |
chore: move database migration script
Diffstat (limited to 'docs/migrating.md')
| -rw-r--r-- | docs/migrating.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/migrating.md b/docs/migrating.md index bc656e7..062b027 100644 --- a/docs/migrating.md +++ b/docs/migrating.md @@ -6,7 +6,7 @@ For starters we recommend cloning the new version somewhere else instead of `git - Then copy your `database/db` file from your v3 folder to the root of your v4 folder. - Make sure to install the dependencies by running `npm i` - You then need to run `npm run setup` from the v4 folder and finish the setup process. -- Once that's done you need to manually run `node src/api/databaseMigration.js` from the root folder of v4. +- Once that's done you need to manually run `node src/api/scripts/databaseMigration.js` from the root folder of v4. - This will migrate the v3 database to v4 and regenerate every single thumbnail in webp to save bandwidth. - After the migration finishes, the last step is to update your nginx config with the [newly provided script](./nginx.md). - Restart nginx with `sudo nginx -s reload`. |