Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lblod/app-organization-portal
OrganisatiePortaal backend
https://github.com/lblod/app-organization-portal
Last synced: 22 days ago
JSON representation
OrganisatiePortaal backend
- Host: GitHub
- URL: https://github.com/lblod/app-organization-portal
- Owner: lblod
- License: mit
- Created: 2021-03-16T13:31:03.000Z (almost 4 years ago)
- Default Branch: development
- Last Pushed: 2024-04-15T14:18:00.000Z (9 months ago)
- Last Synced: 2024-04-16T06:36:57.825Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.07 MB
- Stars: 1
- Watchers: 9
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Organization portal
Backend for the organization portal application, based on the mu.semte.ch microservices stack.
## How to
### Boot up the system in DEV environment
cd /path/to/mu-project
docker-compose -f docker-compose.yml -f docker-compose.dev.yml upYou can shut down using `docker-compose stop` and remove everything using `docker-compose rm`.
### Setting up the delta-producers related services
To make sure the app can share data, producers need to be set up. There is an intial sync, that is potentially very expensive, and must be started manually#### producers administrative-units
1. make sure the app is up and running, the migrations have run
2. in docker-compose.override.yml, make sure the following configuration is provided:
```
delta-producer-pub-graph-maintainer-administrative-units:
environment:
START_INITIAL_SYNC: 'true'
```
3. `drc up -d delta-producer-pub-graph-maintainer-administrative-units`
4. You can follow the status of the job, ideally through the dashboard, but this hasn't been setup yet. The following query should also give results:
```
PREFIX task:
PREFIX adms:
PREFIX dct:SELECT DISTINCT ?job ?operation ?created ?modified ?status WHERE {
GRAPH ?g {
?job a ;
task:operation ?operation;
adms:status ?status;
dct:created ?created;
dct:modified ?modified.
}
FILTER( ?operation IN (
,
)
)
}
```