Skip to content

Commit

Permalink
fix issue with project name
Browse files Browse the repository at this point in the history
  • Loading branch information
zmilan authored and mehcode committed May 1, 2020
1 parent 3edf84a commit a034df8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/postgres/todo-api/.env-example
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion examples/postgres/todo-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "actix_sqlx"
name = "todo_api"
version = "0.1.0"
authors = ["Milan Zivkovic <zivkovic.milan@gmail.com>"]
edition = "2018"
Expand Down
4 changes: 1 addition & 3 deletions examples/postgres/todo-api/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a034df8

Please sign in to comment.