File tree Expand file tree Collapse file tree 2 files changed +45
-1
lines changed
Expand file tree Collapse file tree 2 files changed +45
-1
lines changed Original file line number Diff line number Diff line change 11# Python Copier Template
22
3- [ ![ test] ( https://github.com/mjun0812/python-copier-template/workflows/test/badge.svg )] ( https://github.com/mjun0812/python-copier-template/actions?query=workflow%3Atest )
43[ ![ Copier] ( https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-black.json )] ( https://github.com/copier-org/copier )
4+ [ ![ Test] ( https://github.com/mjun0812/python-copier-template/actions/workflows/test.yml/badge.svg )] ( https://github.com/mjun0812/python-copier-template/actions/workflows/test.yml )
55
66A simple modern Python project template powered by [ Copier] ( https://copier.readthedocs.io/ ) .
77
Original file line number Diff line number Diff line change 11# {{project_name}}
22
33{{description}}
4+
5+ ## Development Setup
6+
7+ After generating your project:
8+
9+ ``` bash
10+ cd your-project-name
11+
12+ # Install dependencies
13+ uv sync
14+
15+ # Install pre-commit hooks
16+ uv run pre-commit install
17+
18+ # Run tests
19+ uv run pytest
20+
21+ # Run formatting and linting (automatically runs on commit)
22+ uv run ruff format .
23+ uv run ruff check .
24+ # Auto Fix
25+ uv run ruff check . --fix
26+ ```
27+
28+ ### Docker Development
29+
30+ The template includes a complete Docker setup:
31+
32+ ``` bash
33+ # create uv.lock file
34+ uv sync
35+
36+ # use the provided scripts
37+ ./docker/build.sh
38+ ./docker/run.sh # or./docker/run.sh (Command)
39+
40+ # Build and run with Docker Compose
41+ docker compose build
42+ docker compose up
43+ ```
44+
45+ ### VS Code Devcontainer
46+
47+ Open the project in VS Code and use the "Reopen in Container" command for a fully configured development environment.
You can’t perform that action at this time.
0 commit comments