Code written while reading the book "Zero to Production" by Luca Palmieri.
git clone git@github.com:pmuens/zero-to-production.git
asdf install
direnv allow
./scripts/setup.sh
- Run
./scripts/docker_dev.sh
in terminal #1 - Run
./scripts/init_db.sh
in terminal #2 - Run
./scripts/dev.sh
in terminal #2
asdf install
asdf reshim rust
direnv allow
cargo init
cargo new <name> [--lib]
cargo build [--bin <binary>]
cargo clean
cargo test
cargo bench
cargo update
cargo add <name>
cargo search <name>
cargo run [--bin <binary>] [-- arg]
cargo doc [--open]
cargo fix
cargo fmt
cargo clippy
cargo check
cargo install <name>
cargo uninstall <name>
sqlx database create
sqlx migrate add <name>
sqlx migrate run