This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Load balance your app on free Heroku instances.

Project Description
Legion - Free & Scalable PAAS
====

Toolkit to load-balance an app on Heroku free plan.

How to use?
--------------------
> Your app must not be on Heroku yet. If it is, remove all remotes pointing to Heroku.

### Create a new legion:
```sh
legion create [--region REGION]
```

This will create an app named `[app-name]` on your Heroku app dashboard.

### Provision your legion
Recruit new legionaries on your legion with:

```sh
legion scale 20 [argument-for-all-heroku-app]
```

This will create 20 new apps, named `[app-name]-legion-[number]`

### Deploy
Deploy your source code on all your dynos

```sh
legion deploy
```

### Destroy
> Warning: this will destroy all apps from this legion!

```sh
legion destroy
```

How does it works?
------------------------------
To make a legion with `n` dynos, `legion` creates `n+1` apps on heroku; your `n` workers and a load-balancer.
The load-balancer is a simple round-robin between all your nodes.
Release History

Release History

This version
History Node

0.14

History Node

0.13

History Node

0.12

History Node

0.11

History Node

0.10

History Node

0.9

History Node

0.8

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
legion-0.14.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source Dec 1, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting