Go to file
Víðir Valberg Guðmundsson 72c4020d96
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build encountered an error
Add whitenoise.
2021-03-01 20:34:51 +01:00
src Add whitenoise. 2021-03-01 20:34:51 +01:00
.drone.yml Add drone config. 2021-03-01 13:46:16 +01:00
.gitignore Getting ready for some translations. 2021-02-28 23:55:01 +01: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
docker-compose.yml Refactoring things and doing stuff WIP way. 2021-02-27 21:07:48 +01:00
Dockerfile Uvicorn has --app-dir, which might do the trick. 2021-03-01 17:49:37 +01:00
entrypoint.sh Fix entrypoint paths. Add uvicorn. Set correct port. 2021-03-01 14:13:19 +01:00
env Refactoring things and doing stuff WIP way. 2021-02-27 21:07:48 +01:00
Makefile Enable buildkit when building. 2021-03-01 00:20:59 +01:00
poetry.lock Add whitenoise. 2021-03-01 20:34:51 +01:00
pyproject.toml Add whitenoise. 2021-03-01 20:34:51 +01:00
README.md Update readme. Make Makefile more nice. 2021-03-01 00:15:01 +01:00

member.data.coop

Development requirements

  • Docker
  • Docker compose
  • pre-commit (preferred for contributions)

Start local server

Given that the requirements above are installed, it should be as easy as:

$ make migrate

This will setup the database. Next run:

$ make run

This will build the docker image and start the member system on http://localhost:8000.

You can create a superuser by running:

$ make createsuperuser

Make migrations:

$ make makemigrations

Make messages:

$ make makemessages

Running tests:

$ make test