From e6b5d3ebdce27e512cdc3bc9f590ede7c439a3c3 Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Fri, 3 Sep 2021 21:58:11 +0800 Subject: [PATCH] Edit --- examples/rocket_example/README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/examples/rocket_example/README.md b/examples/rocket_example/README.md index 360abb68..35a20a07 100644 --- a/examples/rocket_example/README.md +++ b/examples/rocket_example/README.md @@ -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