get ready to rust

This commit is contained in:
counterweight 2025-07-24 23:10:08 +02:00
parent 8257565f69
commit 5982642ba3
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
2 changed files with 4 additions and 2 deletions

View file

@ -14,3 +14,7 @@ reset: stop
@echo "Removing volumes..." @echo "Removing volumes..."
docker volume rm -f $(APP_DB_VOLUME) $(DW_DB_VOLUME) docker volume rm -f $(APP_DB_VOLUME) $(DW_DB_VOLUME)
@echo "Volumes removed. You can now start fresh with 'make start'" @echo "Volumes removed. You can now start fresh with 'make start'"
run-rust:
cargo build --manifest-path rust/Cargo.toml
cargo run --manifest-path rust/Cargo.toml

View file

@ -21,8 +21,6 @@
]; ];
shellHook = '' shellHook = ''
export DATABASE_URL="postgres://${POSTGRES_APP_USER}:${POSTGRES_APP_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_APP_PORT}/${POSTGRES_APP_DB}"
export DW_DATABASE_URL="postgres://${POSTGRES_DW_USER}:${POSTGRES_DW_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_DW_PORT}/${POSTGRES_DW_DB}"
echo " Rust + PostgreSQL dev env ready" echo " Rust + PostgreSQL dev env ready"
''; '';
}; };