Skip to content

Commit 88dca91

Browse files
committed
update README.md
1 parent e1ff70c commit 88dca91

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

66
A simple modern Python project template powered by [Copier](https://copier.readthedocs.io/).
77

template/README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
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.

0 commit comments

Comments
 (0)