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
=== modified file 'README.md'
--- README.md 2013-08-02 19:14:04 +0000
+++ README.md 2014-04-23 09:14:22 +0000
@@ -6,10 +6,10 @@
66
7# How to configure the charm7# How to configure the charm
88
9To deploy a charm with this subordinate it must minimaly:9To deploy a charm with this subordinate it must minimally:
1010
11 1. Provide the wsgi interface.11 1. Provide the wsgi interface.
12 1. Set the `working_dir` relation variable in the wsgi hook.12 2. Set the `working_dir` relation variable in the wsgi hook.
1313
14The configuration of Gunicorn will use the variable pass by14The configuration of Gunicorn will use the variable pass by
15the relation hook first. If there are not define it will15the relation hook first. If there are not define it will
@@ -17,24 +17,39 @@
1717
18# Example deployment18# Example deployment
1919
20 1. Deployment with python-moinmoin for example::20 1. Deployment with python-django for example::
2121
22 juju bootstrap22 juju bootstrap
23 juju deploy --config mywiki_with_wsgi_settings.yaml python-moinmoin23 juju deploy python-django
24 juju deploy postgresql
24 juju deploy gunicorn25 juju deploy gunicorn
25 juju add-relation gunicorn python-moinmoin26 juju add-relation python-django postgresql:db
26 juju expose python-moinmoin27 juju add-relation gunicorn python-django
28 juju expose python-django
2729
28 1. Accessing your new wiki should be ready at::30 2. Accessing your new django app should be ready at::
2931
30 http://<machine-addr>:8080/32 http://<machine-addr>:8080/
3133
32 To find out the public address of gunicorn/python-moinmoin, look for it in34 To find out the public address of gunicorn/python-django, look for it in
33 the output of the `juju status` command.35 the output of the `juju status` command.
34 I recommend using a reverse proxy like Nginx in front of Gunicorn. 36 I recommend using a reverse proxy like Nginx in front of Gunicorn.
3537
36# Changelog38# Changelog
3739
404:
41
42Notable changes:
43
44- re-add support for env_extra parameter that was dropped in r3, but with new
45 standard shell format. e.g. env_extra="FOO=BAR BAZ=QUX". Also supports old
46 r2 format (env_extra="'foo': 'bar', 'baz': 'qux'") to provide an upgrade
47 path.
48- if upgrading from r1 or r2, the old gunicorn config is removed, leaving just
49 the custom upstart job.
50
51No backwards incompatible changes.
52
383:533:
3954
40Notable changes:55Notable changes:
@@ -49,4 +64,5 @@
49- no start/stop hook anymore use related charms instead.64- no start/stop hook anymore use related charms instead.
50- no configuration change directly on the charm anymore, use related charms instead.65- no configuration change directly on the charm anymore, use related charms instead.
51- no access logging by default66- no access logging by default
52- exposing a port must now be done in the linked charm instead of this one
53\ No newline at end of file67\ No newline at end of file
68- exposing a port must now be done in the linked charm instead of this one
69

Subscribers

People subscribed via source and target branches

to all changes: