-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
|
||
|
||
|
||
import celery | ||
|
||
DEFAULT_RETRY_DELAY = 2 | ||
|