zero2prod_axum/README.md
2024-01-30 16:19:19 +01:00

41 lines
797 B
Markdown

TODO: Add general information about this project
TODO: Explain usage of docker vs podman
## TODO: explain DB migration
To migrate a already deployed and running database, use
```sh
SKIP_DB_RUN=true ./scripts/init_db.sh
```
## Contribution
Conventions are enforced through commitizen using pre-commit.
Commits that do not comply with the conventions will be rejected.
Prerequisites for developers are:
- podman
- postgresql-client
- sqlx
- commitizen
- pre-commit
Current contribution workflow is:
0. TODO: fork/clone repo and install commitizen and pre-commit
1. Modify repo
2. Use `cz c` to add a commit
3. Push changes
4. Open pull/merge request
## Maintainance
**Versioning:**
TODO; explain versioning
**Check for unused dependencies:**
```sh
cargo +nightly udeps --all-targets
```