Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
NvdLaan committed Jul 4, 2024
1 parent 123cf62 commit f0bb6df
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,40 @@
# Zaken Woningkwaliteit Duurzaamheid (ZWD)
TODO

## Prerequisites

Make sure you have Docker installed locally:

- [Docker](https://docs.docker.com/docker-for-mac/install/)

## Getting up and running (Local development only)

These steps are necessary to make sure all configurations are set up correctly so that you can get the project running correctly.

First, make sure you have built the project and executed the database migrations:

```bash
docker network create zwd_network
docker-compose -f docker-compose.local.yml build
```

Start ZWD backend:

```bash
docker-compose -f docker-compose.local.yml up
```

Visit the Admin at http://localhost:8081/admin/

## Django DB migrations

For changes to the model you have to migrate the DB.

```bash
python manage.py makemigrations --name <name_of_your_migration> <name_of_apps>

python manage.py migrate
```

name_of_apps is the model you would like to change like: cases, events, workflow or schedules.
You can use the `---empty` flag to create a custom migration.
3 changes: 0 additions & 3 deletions app/apps/cases/tasks.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@



import celery

DEFAULT_RETRY_DELAY = 2
Expand Down

0 comments on commit f0bb6df

Please sign in to comment.