Merge lp:~nskaggs/pyjuju/juju-doc-write-charm-deploy-info into lp:~charm-contributors/pyjuju/docs

Proposed by Nicholas Skaggs
Status: Merged
Approved by: Benjamin Kerensa
Approved revision: 18
Merge reported by: Brandon Holtsclaw
Merged at revision: not available
Proposed branch: lp:~nskaggs/pyjuju/juju-doc-write-charm-deploy-info
Merge into: lp:~charm-contributors/pyjuju/docs
Diff against target: 39 lines (+11/-2)
2 files modified
source/getting-started.rst (+2/-2)
source/write-charm.rst (+9/-0)
To merge this branch: bzr merge lp:~nskaggs/pyjuju/juju-doc-write-charm-deploy-info
Reviewer Review Type Date Requested Status
Benjamin Kerensa (community) Approve
Review via email: mp+104785@code.launchpad.net

Description of the change

Add details about deploying local charms to the writing charms walkthrough

To post a comment you must log in.
Revision history for this message
Benjamin Kerensa (bkerensa) wrote :

Looks good... Thanks for the contribution

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'source/getting-started.rst'
2--- source/getting-started.rst 2012-04-04 19:32:23 +0000
3+++ source/getting-started.rst 2012-05-04 17:47:18 +0000
4@@ -37,13 +37,13 @@
5
6 The juju environment can now be configured.
7
8-Configuring your environment
9+Configuring your environment using EC2
10 ----------------------------
11
12 Run the command-line utility with no arguments to create a sample
13 environment::
14
15- juju
16+ juju bootstrap
17
18 This will create the file ``~/.juju/environments.yaml``, which will look
19 something like this::
20
21=== modified file 'source/write-charm.rst'
22--- source/write-charm.rst 2012-04-04 14:09:57 +0000
23+++ source/write-charm.rst 2012-05-04 17:47:18 +0000
24@@ -208,6 +208,15 @@
25
26 $ juju deploy --repository=examples local:oneiric/mysql
27 $ juju deploy --repository=examples local:oneiric/drupal
28+
29+This deploy is telling juju to look in a local repository for our charm,
30+specifically in the examples/oneiric/mysql and examples/oneiric/drupal folders.
31+Local repositories specified with the --repository switch must point to a
32+directory which contains sub-directories named after an Ubuntu series
33+(e.g. oneiric/) and the charms. The repository can be named anything you wish.
34+Thus, when creating charms locally, this syntax should be followed
35+
36+ repositoryName/ubuntuReleaseName/charmName
37
38 Once the machines are started (hint: check the debug-log), issue a status
39 command::

Subscribers

People subscribed via source and target branches