~jorge/+junk/juju-docs-markdown

« back to all changes in this revision

Viewing changes to developer-install.md

  • Committer: Jorge O. Castro
  • Date: 2012-12-05 21:12:36 UTC
  • Revision ID: jorge@ubuntu.com-20121205211236-sqnq19z6xn2u0d2t
 * Syntax files/clarity

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
To run juju from source, you will need the following dependencies
8
8
installed:
9
9
 
10
 
> -   zookeeper
11
 
> -   txzookeeper
12
 
> -   txaws
 
10
-   zookeeper
 
11
-   txzookeeper
 
12
-   txaws
13
13
 
14
14
The juju team recommends install the zookeeper package from the juju
15
15
PPA, or a source compilation as of ubuntu natty (11.04) due to bugs in
17
17
 
18
18
On a modern Ubuntu Linux system execute:
19
19
 
20
 
    $ sudo apt-get install python-zookeeper python-virtualenv python-yaml
 
20
    sudo apt-get install python-zookeeper python-virtualenv python-yaml
21
21
 
22
22
You will also need Python 2.6 or better.
23
23
 
27
27
 
28
28
First let's setup a virtualenv:
29
29
 
30
 
    $ virtualenv juju
31
 
    $ cd juju
32
 
    $ source bin/activate
 
30
    virtualenv juju
 
31
    cd juju
 
32
    source bin/activate
33
33
 
34
34
Next we'll fetch and install a few juju dependencies from source:
35
35
 
36
 
    $ bzr branch lp:txaws
37
 
    $ cd txaws && python setup.py develop && cd..
38
 
    $ bzr branch lp:txzookeeper
39
 
    $ cd txzookeeper && python setup.py develop && cd..
 
36
    bzr branch lp:txaws
 
37
    cd txaws && python setup.py develop && cd..
 
38
    bzr branch lp:txzookeeper
 
39
    cd txzookeeper && python setup.py develop && cd..
40
40
 
41
41
Lastly, we fetch juju and install it from trunk:
42
42
 
43
 
    $ bzr branch lp:juju
44
 
    $ cd juju && python setup.py develop
 
43
    bzr branch lp:juju
 
44
    cd juju && python setup.py develop
45
45
 
46
46
You can now configure your juju environment per the getting-started
47
47
documentation.