Edit
This commit is contained in:
parent
9665355d22
commit
e6b5d3ebdc
@ -1,8 +1,11 @@
|
|||||||

|

|
||||||
|
|
||||||
# Rocket with SeaOrm example app
|
# Rocket with SeaORM example app
|
||||||
|
|
||||||
- modify the `url` var in `Rocket.toml` to point to your chosen database
|
1. 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
|
1. Turn on the appropriate database feature for your chosen db in `Cargo.toml` (the `default = ["sqlx-mysql"]`)
|
||||||
- open browser to the address shown in `🚀 Rocket has launched from ` line
|
|
||||||
|
1. `cargo run` to start the server
|
||||||
|
|
||||||
|
1. Open in browser after seeing the `🚀 Rocket has launched from http://localhost:8000` line
|
||||||
|
Loading…
x
Reference in New Issue
Block a user