get ready to rust
This commit is contained in:
parent
8257565f69
commit
5982642ba3
2 changed files with 4 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -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
|
||||||
|
|
@ -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"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue