Go to file
Mikkel Munch Mortensen 1a66dbff3a
Upgrade various packages to most recent versions
* Django
 * django-money
 * pre-commit

Also fix a few minor issues:
 * Front page was broken, as `render_to_response` is no longer in
   Django, but replaced by `render`.
 * Base template had a link to a "change e-mail" page that no longer
   exists. Linking to "change password" instead. At least for now.
2021-01-26 20:37:50 +01:00
accounting Run linting (aka the blackening) 2019-09-01 00:27:36 +02:00
membership Run linting (aka the blackening) 2019-09-01 00:27:36 +02:00
project Upgrade various packages to most recent versions 2021-01-26 20:37:50 +01:00
users Run linting (aka the blackening) 2019-09-01 00:27:36 +02:00
.gitignore Renamed membersystem => project (because of tab completion nuisance) and profiles => users 2019-08-31 19:41:35 +02:00
.pre-commit-config.yaml Remove setup.cfg, move relevant flake8 arguments into pre-commit config. Update pre-commit hooks. 2019-09-01 09:45:45 +02:00
Makefile Use poetry to control the projects dependencies. Also setup black for pre-commit. 2019-09-01 00:25:25 +02:00
manage.py Run linting (aka the blackening) 2019-09-01 00:27:36 +02:00
poetry.lock Upgrade various packages to most recent versions 2021-01-26 20:37:50 +01:00
pyproject.toml Upgrade various packages to most recent versions 2021-01-26 20:37:50 +01:00
pytest.ini Renamed membersystem => project (because of tab completion nuisance) and profiles => users 2019-08-31 19:41:35 +02:00
README.md Use poetry to control the projects dependencies. Also setup black for pre-commit. 2019-09-01 00:25:25 +02:00

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