All Projects → generationtux → brizo

generationtux / brizo

Licence: MIT license
PAAS that runs on top of Kubernetes [WIP]

Programming Languages

go
31211 projects - #10 most used programming language
typescript
32286 projects
HTML
75241 projects
CSS
56736 projects
API Blueprint
66 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Brizo

wercker status codecov Code Climate Go Report Card

PAAS that runs on top of Kubernetes.

Development

You can configure the app for local development using a .env file in the root of the project. You should copy .env.example to .env to get started. The example file will have all of the required config with sensible defaults.

Local database

A test database is provided using Docker. The .env.example file provided is configured to connect to this database by default. To start the database [install Docker] for your machine and run

$ docker-compose up -d

This will start a database listening on localhost:33062 with the username root and password secret. It will also setup a database named brizo.

Database migrations

Migrations will run against the database when Brizo starts up. If the app is running in development mode (BRIZO_DEV=true) a subcommand is provided to control migrations.

$ go build
$ ./brizo migrate
$ ./brizo migrate --down

Local Kubernetes

You must have a Kubernetes cluster available for development. You can setup a quick test cluster locally using Minikube. The default environment in .env.example is configured to connect to a minikube cluster.

UI

The JS UI is isolated to the ui directory. See the UI Readme for development info.

Autoreload

You can use Fresh to serve and autoreload the service during development.

Install Fresh

$ go get github.com/pilu/fresh

Then run the app

$ fresh

Dependency management

Dependencies are managed using Govendor. For simpliciy in version management dependencies are committed with the repo.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].