forked from data.coop/membersystem
Thomas Jespersen
6857bc69b5
Apparently I forgot to add this file in previous commits - the initial shape is provided by @valberg, I added some defaults for POSTGRES_{HOST,PORT}. |
||
---|---|---|
accounting | ||
docker | ||
membership | ||
project | ||
users | ||
.gitignore | ||
.pre-commit-config.yaml | ||
entrypoint.sh | ||
Makefile | ||
manage.py | ||
poetry.lock | ||
pyproject.toml | ||
pytest.ini | ||
README.md |
member.data.coop
To start developing:
Get poetry
$ python3 -m pip install --user pipx
$ pipx install poetry
Run poetry to setup environment
$ poetry install
Run this make target, which installs all the requirements and sets up a development database.
$ make dev-setup
To run the Django development server:
$ poetry run python manage.py runserver
Before you push your stuff, run tests:
$ make test