Skip to content

Commit

Permalink
Update production deployment method
Browse files Browse the repository at this point in the history
  • Loading branch information
lucklove authored Mar 29, 2024
1 parent 61d429e commit 40fd564
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/deployment/self_host.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,17 @@ To update the application:

```sh
cd LinguFlow

# update docker images
docker-compose down
docker pull pingcap/linguflow-api
docker pull pingcap/linguflow-ui

# if the new version has schema changes
git pull
docker-compose build --no-cache
alembic revision --autogenerate -m "update schema if any necessary database migrations"
alembic upgrade head

# start the service
docker-compose up
```
```

0 comments on commit 40fd564

Please sign in to comment.