axum-full-course
No description available.
File Explorer
Download Latest Version (.zip)- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- .env.example
- .gitignore
- Cargo.toml
- docker-compose.yml
- Dockerfile
- LICENSE
- README.md
# Installation Guide
git clone https://github.com/aarambh-darshan/axum-full-course
Downloads the entire project code from GitHub to your computer.
cd axum-full-course
Moves into the project folder you just downloaded.
2. Docker
Easy Recommended- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
โโโ Dockerfile # Production Docker image
Type this command into your terminal and run it.
โโโ docker-compose.yml # Local development stack
Runs the command against the services defined in the compose file.
docker-compose up -d postgres # Start PostgreSQL
Runs the command against the services defined in the compose file.
docker-compose up -d postgres
Runs the command against the services defined in the compose file.
docker build -t axum-course .
Builds a runnable image based on the Dockerfile.
Pulled directly from this repo's README.
3. Rust
Medium- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --workspace
Compiles the Rust project.
cargo run -p module-01-intro
Builds and then immediately runs the program.
cargo test --workspace
Type this command into your terminal and run it.
โโโ Cargo.toml # Workspace manifest with shared dependencies
Type this command into your terminal and run it.
โ โโโ Cargo.toml
Type this command into your terminal and run it.
Pulled directly from this repo's README.
