Kibernetika project, backend component
10K+
Get all dependencies:
go mod vendor
Demo API starts with SQLite for data and Redis/Memory for sessions.
BASE_URL=http://localhost:8082 go run cloud-dealer.go
Current API version is /api/v0.2
Open Swagger on http://localhost:8082/docs/apidocs/ and explore http://localhost:8082/docs/apidocs.json.
TESTING=1 go test ./pkg/...
kubectl --namespace kuberlab create secret generic app-credentials --from-file=./bitbucket.json --from-file=./github.json --from-file=./google.json --from-file=./smtp.json --from-file=./admins.json
Current cloud-dealer's version works only with Elasticsearch version 2.X.
Start Elasticsearch docker container localy:
docker run -p 9200:9200 -e "http.host=0.0.0.0" -e "transport.host=127.0.0.1" elasticsearch:2.4
kubectl create secret docker-registry kuberlab-docker --docker-server=https://index.docker.io/v1/ --docker-username=kuberlabdeploy --docker-password=xxxx --docker-email=[email protected]
Initialization:
go mod init
go mod vendor
And test:
go run cloud-dealer.go
Content type
Image
Digest
sha256:7de9cd238…
Size
278.1 MB
Last updated
over 2 years ago
docker pull kuberlab/cloud-dealer