fix issue with project name

This commit is contained in:
Milan Zivkovic 2020-04-21 13:10:20 +02:00 committed by Ryan Leckey
parent 3edf84ae3d
commit a034df87c4
3 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
HOST=127.0.0.1
PORT=5000
DATABASE_URL="postgres://user:pass@192.168.33.11/actix_sqlx_todo"
RUST_LOG=actix_rest_api_sqlx=info,actix=info
RUST_LOG=todo_api=info,actix=info

View File

@ -1,5 +1,5 @@
[package]
name = "actix_sqlx"
name = "todo_api"
version = "0.1.0"
authors = ["Milan Zivkovic <zivkovic.milan@gmail.com>"]
edition = "2018"

View File

@ -62,6 +62,4 @@ async fn main() -> Result<()> {
}
// export DATABASE_URL="postgres://pguser:zx@192.168.33.11/realworld"
// systemfd --no-pid -s http::5000 -- cargo watch -x run
// I would add the example as "todo-api"
// Under the postgres folder
// systemfd --no-pid -s http::5000 -- cargo watch -x run