[Gobal] added flake8 and did format
This commit is contained in:
15
AGENTS.md
Normal file
15
AGENTS.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# AGENTS.md
|
||||
|
||||
## Core Workflow
|
||||
|
||||
- **Setup**: `make prep` (creates `.venv` and installs `requirements.txt`)
|
||||
- **Build**: `make build` (runs `atom_gen.py`, `prep.py`, and `build_pages.py`)
|
||||
- **Events**: Update `dogadjaji.csv` then run `make events` (updates pages and generates images via `image_poster.py`)
|
||||
- **Development**: `make dev` (starts Nginx using `nginx.dev.conf`) and `make stop` to terminate.
|
||||
|
||||
## Technical Details
|
||||
|
||||
- **Environment**: Uses a local virtual environment in `.venv`. Always use `./.venv/bin/python` or ensure the venv is activated.
|
||||
- **Output**: The generated website is stored in the `site/` directory.
|
||||
- **Data**: Events are driven by `dogadjaji.csv`.
|
||||
- **Web Server**: Uses Nginx for the development server.
|
||||
Reference in New Issue
Block a user