Update REAMDE
This commit is contained in:
parent
6292b01464
commit
bbb2adce63
2 changed files with 14 additions and 5 deletions
|
|
@ -53,3 +53,7 @@ scripts/e2e.sh
|
|||
```
|
||||
|
||||
And to clean up the logs & database files, run `scripts/clean-up.sh`
|
||||
|
||||
## Projects
|
||||
|
||||
- [Sync server](./backend/sync_server/README.md)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
# Sync server
|
||||
|
||||
cargo install sqlx-cli
|
||||
rm db.sqlite3; sqlx database create --database-url sqlite://db.sqlite3
|
||||
## Creating/resetting the Database for development
|
||||
|
||||
```sh
|
||||
sqlx database create --database-url sqlite://db.sqlite3
|
||||
sqlx migrate run --source sync_server/src/app_state/database/migrations --database-url sqlite://db.sqlite3
|
||||
cargo sqlx prepare --workspace
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue