Torii
Torii copied to clipboard
Fix #10 openssl-dev needed
Fix de need of openssl-dev to build the backend.
Hey,
Did you not need pkgconfig also? I believed I needed it
Hey, Did you not need
pkgconfigalso? I believed I needed it
No but now compilation failed inside the Rust build with include_str!("../db/schema.sql");:
I'm not a Rust dev so I don't know how to fix it :/
Compiling backend v0.1.0 (/app)
error: couldn't read src/../db/schema.sql: No such file or directory (os error 2)
--> src/database.rs:66:22
|
66 | let sql_schema = include_str!("../db/schema.sql");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `backend` (bin "backend") due to previous error
The command '/bin/sh -c cargo build --release' returned a non-zero code: 101
make: *** [Makefile:5: docker_build_backend] Error 101
@mielune can you confirm if you have the db directory and inside it there should be schema.sql file? Attaching the image below for reference.
@mielune can you confirm if you have the db directory and inside it there should be schema.sql file? Attaching the image below for reference.
Yes, I have this folder 👍
@mielune please test with this current opened branch.
