The Servala Self-Service Portal
Find a file
2025-03-05 11:04:09 +01:00
.forgejo/issue_template add feature issue template 2025-03-04 10:32:36 +01:00
src Run black for initial code style 2025-03-05 11:04:09 +01:00
.gitignore Initial commit 2025-03-03 15:26:47 +00:00
.python-version uv + Django[postgres] installation 2025-03-05 10:44:16 +01:00
LICENSE Initial commit 2025-03-03 15:26:47 +00:00
pyproject.toml Add dev dependencies: linters, formatters, testing 2025-03-05 11:04:09 +01:00
README.md Add dev dependencies: linters, formatters, testing 2025-03-05 11:04:09 +01:00
uv.lock Add dev dependencies: linters, formatters, testing 2025-03-05 11:04:09 +01:00

servala-portal

The Servala Self-Service Portal

Development setup

Use uv to install the project and run its commands while youre developing:

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:

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