Add some indication about how to try the application (#158)

close #157

Co-authored-by: matclab <mathieu@clabaut.net>
This commit is contained in:
matclab 2022-07-05 19:51:16 +02:00 committed by GitHub
parent 1d8b20fd03
commit 49824b77e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,6 +92,13 @@ Launch `cargo`:
cargo build cargo build
``` ```
You can now try with opening a browser on http://127.0.0.1:8000/login after
having launch the web server with `cargo run`.
There is a default `admin` account with password
`everythinghastostartsomewhere`. The available entrypoints are listed in
[src/startup.rs](https://github.com/LukeMathWalker/zero-to-production/blob/6bd30650cb8670a146819a342ccefd3d73ed5085/src/startup.rs#L92)
## How to test ## How to test
Launch a (migrated) Postgres database via Docker: Launch a (migrated) Postgres database via Docker: