Skip to content

Commit

Permalink
docs: update migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
zumuta committed Dec 22, 2024
1 parent eabdd44 commit d57676f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ variable `KWAI_SETTINGS_FILE` with the full path of this configuration file.
## Step 4: Migration

When there are database changes required, a migration must run before
starting the backend.
starting the backend. Copy the migrations folder to your server and use dbmate to upgrade.

> [dbmate](https://github.com/amacneil/dbmate) is used for database migrations. Make sure it is available.
````shell
cd backend/migrations
cd <your_folder_on_the_server>/migrations
dbmate -d . -u "<database_uri>" up
````

## Step 4: Frontend
## Step 5: Frontend

The frontend is also served by the FastAPI backend.

Expand Down

0 comments on commit d57676f

Please sign in to comment.