Juju charms used by tsuru PaaS.

Language: Shell


Collection of charms used by tsuru.

Creating charms

To enable new environments, you need to create a new charm. A charm has a directory structure explained below:

| +-django/
|   +-hooks/
|   | +-install
|   | +-dependencies
|   | +-start
|   | +-stop
|   | +-restart
|   +-metadata.yaml
    | +-install
    | +-dependencies
    | +-start
    | +-stop
    | +-restart

Metadata file

Every charm must have a metadata.yml to describe the charm. It's described in juju docs - https://juju.ubuntu.com/docs/write-charm.html


Every environment needs 5 hooks. Every hook must be created with execution permission. The hooks as described below:


This script used to install the packages your environment needs to be ready for deploy.


This script is used to install your application dependencies when you deploy it (e.g. pip install, npm install, bundle install).


This script starts your application.


This script stops your application.


This script restarts your application. It's used every time you deploy your application.

Project Statistics

Sourcerank 3
Repository Size 339 KB
Stars 0
Forks 2
Watchers 1
Open issues disabled
Dependencies 0
Contributors 7
Tags 0
Last updated
Last pushed

Top Contributors See all

Andrews Medina Flavia Missi francisco souza Emerson Macedo Bruno Torres Marco Sinhoreli Guilherme Cirne

Something wrong with this page? Make a suggestion

Login to resync this repository