Skip to content
Snippets Groups Projects
Commit 59ab6504 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

add instructions to use local Docker container for Postgres

parent 106f1ed7
No related branches found
No related tags found
1 merge request!2postgres to docker in development environment
Pipeline #33676 passed
......@@ -10,6 +10,7 @@ LDV Specification Application. For filling ATDB-LDV with processing tasks for LO
- https://drive.google.com/file/d/1_j9Fp505pZTxcmzAEdgftdPkoIFrKfAX/view?usp=sharing
## Collaborate
* create `your branch` from `main`
* add your functionality
* test your functionality locally
......@@ -20,11 +21,12 @@ LDV Specification Application. For filling ATDB-LDV with processing tasks for LO
* deploy in production, and test it
### Local update
After a collegue has made changes, then locally
* git pull
* pip install -r requirements\dev.txt
* python manage.py migrate --settings=ldvspec.settings.dev
After a collegue has made changes, then locally:
```
> git pull
> pip install -r requirements\dev.txt
> python manage.py migrate --settings=ldvspec.settings.dev
```
## Local Development Environment
......@@ -79,8 +81,11 @@ DATABASES = {
}
```
* python manage.py migrate --settings=ldvspec.settings.dev
* python manage.py runserver --settings=ldvspec.settings.dev
```
> python manage.py migrate --settings=ldvspec.settings.dev
> python manage.py runserver --settings=ldvspec.settings.dev
> python manage.py createsuperuser --settings=ldvspec.settings.dev
```
## Test Environment
* https://sdc-dev.astron.nl/ldvspec/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment