aboutsummaryrefslogtreecommitdiff
path: root/docs/migrating.md
diff options
context:
space:
mode:
authorPitu <[email protected]>2021-01-05 16:12:33 +0900
committerPitu <[email protected]>2021-01-05 16:12:33 +0900
commitf125011413b1a538f361a0f6be457f881a489060 (patch)
tree878ec6a723fd6ff5c5aeddfe94435b3745f5dd56 /docs/migrating.md
parentfix: migration didn't properly grab the env variables (diff)
downloadhost.fuwn.me-f125011413b1a538f361a0f6be457f881a489060.tar.xz
host.fuwn.me-f125011413b1a538f361a0f6be457f881a489060.zip
chore: docs
Diffstat (limited to 'docs/migrating.md')
-rw-r--r--docs/migrating.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/migrating.md b/docs/migrating.md
index 635630d..bc656e7 100644
--- a/docs/migrating.md
+++ b/docs/migrating.md
@@ -4,7 +4,8 @@ For starters we recommend cloning the new version somewhere else instead of `git
- After cloning move your `uploads` folder from the v3 folder to the new v4 folder.
- Then copy your `database/db` file from your v3 folder to the root of your v4 folder.
-- You then need to run `npm start setup` from the v4 folder and finish the setup process.
+- 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.
- 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).