Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhh/upkeep
Upkeep home maintenance
https://github.com/jhh/upkeep
Last synced: about 1 month ago
JSON representation
Upkeep home maintenance
- Host: GitHub
- URL: https://github.com/jhh/upkeep
- Owner: jhh
- License: mit
- Created: 2024-11-19T12:06:07.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-08T18:09:54.000Z (about 1 month ago)
- Last Synced: 2024-12-08T18:31:51.734Z (about 1 month ago)
- Language: Python
- Size: 159 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Upkeep
Upkeep home maintenance webapp.
## Direnv
An impure virtual environment (in `.venv`) is handy for using Pycharm in development and for using a system-installed `uv`.
```bash
# .envrc
use flake .#impure
uv sync
```otherwise you can let `uv2nix` create the virtual environment.
```bash
# .envrc
use flake
```## Environment Variables
Some sensible default setting for production.
- The PostgresQL database uses the default the Unix socket with peer authentication.
- A connection pool is configured.
- Two `gunicorn` workers are started.```shell
DJANGO_ALLOWED_HOSTS="${REPO_NAME}.j3ff.io,127.0.0.1"
DJANGO_SECRET_KEY=
DJANGO_DATABASE_URL=postgres:///${REPO_NAME}
DJANGO_DATABASE_OPTIONS='{"pool": {"min_size": 2, "max_size": 4}}'
WEB_CONCURRENCY=2
```