Hey there, thanks for the guide, it's really helping me getting into web development with Rust! I'm following along and running into a compile error at the first part, where it says that it should compile, though.
The problem stems from the fact that the
mod schema;
in main.rs is not commented out, although the schema is only generated in the next step. Commenting this line out as well solves the issue.
Also at this point, the main thread panics because DATABASE_URL is not present, as the .env entry is also written afterwards.
Hey there, thanks for the guide, it's really helping me getting into web development with Rust! I'm following along and running into a compile error at the first part, where it says that it should compile, though.
The problem stems from the fact that the
in
main.rs
is not commented out, although the schema is only generated in the next step. Commenting this line out as well solves the issue.Also at this point, the main thread panics because
DATABASE_URL
is not present, as the.env
entry is also written afterwards.Noted Thanks