initial commit

This commit is contained in:
ycc
2023-03-03 14:43:11 +01:00
parent 7229007847
commit 88c21d1828
142 changed files with 13975 additions and 22 deletions

View File

@@ -1,2 +1,25 @@
# oc-catalog
# OC Catalog
OpenCloud Catalog API
## Full deploy
Deploy with docker:
`docker-compose -f docker-compose.yml -f docker-compose.backend.yml up --build`
and populate DB (or other scripts) with:
`docker exec -it oc-catalog_oc-catalog_1 ./scripts/populate_models.sh ./scripts/demo.json`
## Dev
Start DB with `docker-compose up -d` and run the API with `bee run -downdoc=true -gendoc=true`
## Multinode
Deploy
`docker-compose -f docker-compose.yml -f docker-compose.backend.yml -f docker-compose.multi.yml up --build`
Populate
`./scripts/multinode.sh ./scripts/demo.json`