I tryed to do the local setup on windows but it did not work. Here is what i did:
- start postgres db
pg_ctl start
- copy .env
sh .\scripts\copy-env.sh (it uses sh from git for windows)
- modify the .env and replace
0.0.0.0 and port with just localhost
diesel setup
cargo run
It did compile but at runtime it aborts.
PS C:\Users\<my-user>\Git\realworld-v1-rust-actix-web-diesel> cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.60s
Running `target\debug\conduit.exe`
start conduit server...
2023-08-11 13:23:58.922 CEST [23336] LOG: could not receive data from client: An existing conn
ection was forcibly closed by the remote host.
2023-08-11 13:23:58.923 CEST [16500] LOG: could not receive data from client: An existing conn
ection was forcibly closed by the remote host.
2023-08-11 13:23:58.925 CEST [17720] LOG: could not receive data from client: An existing conn
ection was forcibly closed by the remote host.
2023-08-11 13:23:58.926 CEST [5600] LOG: could not receive data from client: An existing conne
ction was forcibly closed by the remote host.
2023-08-11 13:23:58.931 CEST [16948] LOG: could not receive data from client: An existing conn
ection was forcibly closed by the remote host.
2023-08-11 13:23:58.933 CEST [17096] LOG: could not receive data from client: An existing conn
ection was forcibly closed by the remote host.
Can someone help me get this app running?
I tryed to do the local setup on windows but it did not work. Here is what i did:
pg_ctl startsh .\scripts\copy-env.sh(it uses sh from git for windows)0.0.0.0and port with justlocalhostdiesel setupcargo runIt did compile but at runtime it aborts.
Can someone help me get this app running?