servala-portal/README.md

36 lines
759 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# servala-portal
The Servala Self-Service Portal
## Development setup
Use ``uv`` to install the project and run its commands while youre developing:
```bash
uv sync --dev
uv run src/manage.py migrate
uv run src/manage.py runserver
```
This will start the development server on http://localhost:8000.
### Configuration
TODO
### Code style and linting
Servala uses several linters / formatters to keep the project style consistent for you.
Run them like this:
```bash
uv run black src/ # Code formatting; -c to just check
uv run isort src/ # Import ordering; -c to just check
uv run djlint src/ --reformat --format-js --format-css # Format templates, JS and CSS, --check to just check
uv run flake8 src/ # Python linter
```
### Testing
TODO