compose upgrade
This commit is contained in:
14
README.md
14
README.md
@@ -1,7 +1,17 @@
|
||||
# OC Catalog
|
||||
|
||||
OpenCloud Catalog API
|
||||
## OpenCloud Catalog API
|
||||
|
||||
Uses the Beego framework
|
||||
|
||||
To install the Beego bee command :
|
||||
|
||||
go install github.com/beego/bee/v2@master
|
||||
|
||||
To build and run :
|
||||
|
||||
go mod tidy
|
||||
bee run -downdoc=true -gendoc=true
|
||||
|
||||
## Full deploy
|
||||
|
||||
@@ -11,6 +21,8 @@ Deploy with docker:
|
||||
and populate DB (or other scripts) with:
|
||||
`docker exec -it oc-catalog_oc-catalog_1 ./scripts/populate_models.sh ./scripts/demo.json`
|
||||
|
||||
or out of docker `./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`
|
||||
|
||||
Reference in New Issue
Block a user