~charmers/charms/precise/appflower/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Introduction

AppFlower is an open source application builder for use in building web-based 
applications. AppFlower provides a visual designer (Studio) to develop 
applications without prior knowledge of programming, using drag and drop and 
no coding. Advanced users can create more complex applications.

 - Author: Jimmi Andersen <ja@appflower.com>
 - Latest Modified: 23/Marts - 2012
 - License: MIT

## To-Do

Work in-progress to add improved support for

 - charm upgrade
 - integration with load-balancers, reverse-proxy and memcached for php-session
 - Extend support for other aws services

# Requirements

AppFlower requires a Database to be fully running, and could be clued together
with other services like haproxy, or varnish for improved performance and 
failover.
 
# Getting started deploying AppFlower

Bootstrap your juju environment

    juju bootstrap

Deploy MySQL and AppFlower
    
    juju deploy appflower
    juju deploy mysql

Add a relation between AppFlower and the Database

    juju add-relation appflower mysql

Expose the service

    juju expose appflower

Your new project can now be accessed at http://<ec2-dns-address>/, this can be
found while running "juju status", and look under the appflower service.

If you want to spin up a reverse proxy in front..

Deploy a varnish (reverse-proxy) instance

    juju deploy varnish

Connect varnish and appflower

    juju add-relation varnish appflower