Square one.
[osm/N2VC.git] / README.md
1 # Getting Started
2
3 ```python
4 from juju import Juju
5
6 juju = Juju()
7 lxd = juju.get_cloud('lxd')
8 controller = lxd.bootstrap('lxd-test')
9 model = controller.get_model('default')
10
11 # We might want an async and blocking version of deploy()?
12 model.deploy('mediawiki-single')
13
14 mediawiki = model.get_service('mediawiki')
15 mediawiki.expose()
16 ```
17
18