LDV Specification
LDV Specification Application. For filling ATDB-LDV with processing tasks for LOFAR data
Documentation (Confluence)
-
The plan: https://support.astron.nl/confluence/pages/viewpage.action?pageId=84215267
-
https://support.astron.nl/confluence/display/SDCP/LDV+Documentation
-
deployment diagram of the current situation (in production)
Collaborate
-
create
your branch
frommain
-
add your functionality
-
test your functionality locally
-
merge
main
intoyour branch
before creating a MR -
merge with
main
-
deploy in test, and test it
-
deploy in production, and test it
Test Environment
Production Environment
Configuration
See ~/shared/ldvspec.env
for database credentials and where to find ATDB-LDV
NOTE: currently a postgres database in a Docker container is also used in production. This will change to a database on the sdc-db machine.
admin user
- admin:admin
Build & Deploy
The CI/CD pipeline creates 2 Docker containers:
- ldv-specification : The Django application
- ldv-spec-postgres : The Postgres database
The database can also be accessed externally:
- host : sdc-dev.astron.nl / sdc.astron.nl
- port : 12000
- database: ldv-spec-db
Manual steps (add them somewhere)
Log into the ldv-specification container. (using the portainer GUI or with the docker exec)
> cd /src
> python manage.py migrate --settings=ldvspec.settings.docker_sdc
> python manage.py createsuperuser --settings=ldvspec.settings.docker_sdc