This commit is contained in:
Chris Tsang 2021-09-03 21:58:11 +08:00
parent 9665355d22
commit e6b5d3ebdc

View File

@ -1,8 +1,11 @@
![screenshot](Screenshot.png)
# Rocket with SeaOrm example app
# Rocket with SeaORM example app
- modify the `url` var in `Rocket.toml` to point to your chosen database
- turn on the appropriate database feature for your chosen db in `Cargo.toml`
- `cargo run` to start the server
- open browser to the address shown in `🚀 Rocket has launched from ` line
1. Modify the `url` var in `Rocket.toml` to point to your chosen database
1. Turn on the appropriate database feature for your chosen db in `Cargo.toml` (the `default = ["sqlx-mysql"]`)
1. `cargo run` to start the server
1. Open in browser after seeing the `🚀 Rocket has launched from http://localhost:8000` line