A development environment template for Python, Rust, and Node.js projects with shared library capabilities.
- Multi-stage Docker build with minimal final image
- Python 3.x and Rust toolchain
- Node.js 20.x with npm
- Pre-configured development container
- Pre-commit hooks for code quality
- GitHub Actions CI/CD
- VS Code integration
- Docker
- VS Code with Dev Containers extension (optional)
Build the image:
docker buildx build . -f .devcontainer/Dockerfile -o type=docker -t pyrs-dev
Run the container:
docker run -it --name pyrs-dev -v "${PWD}:/app" pyrs-dev
Enter a running container:
docker exec -it pyrs-dev bash
Stop and remove everything:
docker stop pyrs-dev
docker rm pyrs-dev
docker system prune -a --volumes
- Python code is formatted with
black
and linted withruff
Rust code is formatted withrustfmt
and linted withclippy
Node.js packages managed withnpm
Tests are run with pytest
for Python and cargo test
for Rust
Open the project in VS Code and click "Reopen in Container" when prompted.
MIT