update guide

This commit is contained in:
Pitu 2020-07-18 16:45:51 +09:00
parent aea442a956
commit 0b6867f1b1
1 changed files with 1 additions and 1 deletions

View File

@ -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.
- You then need to run `yarn setup` or `npm start 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 to acomodate the new format.
- 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`.
- And lastly start your lolisafe instance with `pm2 start pm2.json`.