diff --git a/.cargo/config.local.toml b/.cargo/config.local.toml index b6ee463..72db7d0 100644 --- a/.cargo/config.local.toml +++ b/.cargo/config.local.toml @@ -4,17 +4,18 @@ # Environments variables set for all `cargo ...` commands. [env] -DEBUG=false +DEBUG="true" # Scope down tracing, to filter out external lib tracing. RUST_LOG="cerium=debug,entity=debug,migration=info,api=debug" ## -- Database Url -DATABASE_URI="postgres://root:root@localhost:5432/orca" +DATABASE_URI="postgres://root:root@localhost:5433/orca" SELENIUM_URI="http://localhost:4444/wd/hub/session" -MINIO_ACCESS_KEY = "minioadmin" -MINIO_ACCESS_SECRET = "minioadmin" +STORAGE_BASE_URL = "http://localhost:9000" +STORAGE_ACCESS_KEY = "minioadmin" +STORAGE_ACCESS_SECRET = "minioadmin" # -- Encryption salt used for JWT token and other secret keys ENCRYPTION_SALT="strongencryption" diff --git a/Cargo.toml b/Cargo.toml index 0d85d9e..05c0603 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,3 +67,5 @@ geckodriver="0.34.0" [patch.crates-io] sea-orm = { git="https://github.com/itsparser/sea-orm", branch = "master" } +sea-orm-migration = { git="https://github.com/itsparser/sea-orm", branch = "master" } + diff --git a/crates/services/api/Cargo.toml b/crates/services/api/Cargo.toml index 7e22a3e..cae79b0 100644 --- a/crates/services/api/Cargo.toml +++ b/crates/services/api/Cargo.toml @@ -26,7 +26,7 @@ futures-util.workspace=true config.workspace=true chrono.workspace=true -sea-orm.workspace=true +sea-orm.workspace =true sea-query.workspace=true sea-orm-migration.workspace=true axum.workspace=true @@ -41,3 +41,7 @@ async-recursion = "1.0.5" tokio = { version = "1.0", features = ["full"] } + +#[patch.crates-io] +#sea-orm = { git="https://github.com/itsparser/sea-orm", branch = "master" } +