Merge lp:~bloodearnest/charms/precise/gunicorn/fix-readme into lp:~charmers/charms/precise/gunicorn/trunk

Proposed by Simon Davy
Status: Merged
Merged at revision: 31
Proposed branch: lp:~bloodearnest/charms/precise/gunicorn/fix-readme
Merge into: lp:~charmers/charms/precise/gunicorn/trunk
Diff against target: 70 lines (+25/-9)
1 file modified
README.md (+25/-9)
To merge this branch: bzr merge lp:~bloodearnest/charms/precise/gunicorn/fix-readme
Reviewer Review Type Date Requested Status
charmers Pending
Review via email: mp+216836@code.launchpad.net

Commit message

Update README with r4 notes and correct example.

Description of the change

Update README with r4 notes and correct example.

To post a comment you must log in.
38. By Simon Davy

typos and spelling

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README.md'
2--- README.md 2013-08-02 19:14:04 +0000
3+++ README.md 2014-04-23 09:14:22 +0000
4@@ -6,10 +6,10 @@
5
6 # How to configure the charm
7
8-To deploy a charm with this subordinate it must minimaly:
9+To deploy a charm with this subordinate it must minimally:
10
11 1. Provide the wsgi interface.
12- 1. Set the `working_dir` relation variable in the wsgi hook.
13+ 2. Set the `working_dir` relation variable in the wsgi hook.
14
15 The configuration of Gunicorn will use the variable pass by
16 the relation hook first. If there are not define it will
17@@ -17,24 +17,39 @@
18
19 # Example deployment
20
21- 1. Deployment with python-moinmoin for example::
22+ 1. Deployment with python-django for example::
23
24 juju bootstrap
25- juju deploy --config mywiki_with_wsgi_settings.yaml python-moinmoin
26+ juju deploy python-django
27+ juju deploy postgresql
28 juju deploy gunicorn
29- juju add-relation gunicorn python-moinmoin
30- juju expose python-moinmoin
31+ juju add-relation python-django postgresql:db
32+ juju add-relation gunicorn python-django
33+ juju expose python-django
34
35- 1. Accessing your new wiki should be ready at::
36+ 2. Accessing your new django app should be ready at::
37
38 http://<machine-addr>:8080/
39
40- To find out the public address of gunicorn/python-moinmoin, look for it in
41+ To find out the public address of gunicorn/python-django, look for it in
42 the output of the `juju status` command.
43 I recommend using a reverse proxy like Nginx in front of Gunicorn.
44
45 # Changelog
46
47+4:
48+
49+Notable changes:
50+
51+- re-add support for env_extra parameter that was dropped in r3, but with new
52+ standard shell format. e.g. env_extra="FOO=BAR BAZ=QUX". Also supports old
53+ r2 format (env_extra="'foo': 'bar', 'baz': 'qux'") to provide an upgrade
54+ path.
55+- if upgrading from r1 or r2, the old gunicorn config is removed, leaving just
56+ the custom upstart job.
57+
58+No backwards incompatible changes.
59+
60 3:
61
62 Notable changes:
63@@ -49,4 +64,5 @@
64 - no start/stop hook anymore use related charms instead.
65 - no configuration change directly on the charm anymore, use related charms instead.
66 - no access logging by default
67-- exposing a port must now be done in the linked charm instead of this one
68\ No newline at end of file
69+- exposing a port must now be done in the linked charm instead of this one
70+

Subscribers

People subscribed via source and target branches

to all changes: