Go to file
ycc 88c21d1828 initial commit 2023-03-03 14:43:11 +01:00
conf initial commit 2023-03-03 14:43:11 +01:00
controllers initial commit 2023-03-03 14:43:11 +01:00
models initial commit 2023-03-03 14:43:11 +01:00
routers initial commit 2023-03-03 14:43:11 +01:00
scripts initial commit 2023-03-03 14:43:11 +01:00
selfapi initial commit 2023-03-03 14:43:11 +01:00
services initial commit 2023-03-03 14:43:11 +01:00
.dockerignore initial commit 2023-03-03 14:43:11 +01:00
.gitignore initial commit 2023-03-03 14:43:11 +01:00
Dockerfile initial commit 2023-03-03 14:43:11 +01:00
LICENSE Initial commit 2023-03-03 11:49:07 +01:00
README.md initial commit 2023-03-03 14:43:11 +01:00
docker-compose.backend.yml initial commit 2023-03-03 14:43:11 +01:00
docker-compose.multi.yml initial commit 2023-03-03 14:43:11 +01:00
docker-compose.yml initial commit 2023-03-03 14:43:11 +01:00
go.mod initial commit 2023-03-03 14:43:11 +01:00
go.sum initial commit 2023-03-03 14:43:11 +01:00
main.go initial commit 2023-03-03 14:43:11 +01:00

README.md

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