File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 calculate recalculate and update the formation databag
2020 destroy destroy a container formation
2121
22- Subcommands, use `deis help [subcommand]` to learn more::
22+ Subcommands, use `` deis help [subcommand]` ` to learn more::
2323
2424 formations manage container formations
2525 layers manage layers of nodes
3434 builds manage git-push or docker builds
3535 releases manage a formation's release history
3636
37- Use `git push deis master` to deploy to a formation.
37+ Use `` git push deis master` ` to deploy to a formation.
3838
3939"""
4040
4646import re
4747import subprocess
4848import sys
49+ import time
4950import urlparse
51+ import yaml
5052
5153from docopt import docopt
5254from docopt import DocoptExit
5355import requests
54- import time
55- import yaml
5656
5757
5858__version__ = '0.0.4'
@@ -63,8 +63,6 @@ class Session(requests.Session):
6363 Session for making API requests and interacting with the filesystem
6464 """
6565
66- """Subclass `Session` to """
67-
6866 def __init__ (self ):
6967 super (Session , self ).__init__ ()
7068 self .trust_env = False
Original file line number Diff line number Diff line change @@ -104,9 +104,9 @@ automatically and use the `standard environment variables`_ to configure the EC2
104104 5. Create & Scale a Formation
105105-----------------------------
106106
107- Find an application you’d like to deploy, or clone `an example app `.
108- Change into the application directory and use `deis create ` to initialize a
109- new formation in a specific EC2 region. Use the `deis layers:scale ` command
107+ Find an application you’d like to deploy, or clone `an example app `_ .
108+ Change into the application directory and use `` deis create ` ` to initialize a
109+ new formation in a specific EC2 region. Use the `` deis layers:scale ` ` command
110110to provision nodes that will be dedicated to this formation.
111111
112112.. code-block :: console
@@ -131,11 +131,11 @@ to provision nodes that will be dedicated to this formation.
131131 6. Deploy your Application
132132--------------------------
133133
134- Use `git push deis master ` to deploy your application. Deis will
134+ Use `` git push deis master ` ` to deploy your application. Deis will
135135automatically deploy Docker containers and configure Nginx proxies to
136136route requests to your application.
137137
138- To learn more, use `deis help ` or browse `the documentation `_.
138+ To learn more, use `` deis help ` ` or browse `the documentation `_.
139139
140140.. code-block :: console
141141
You can’t perform that action at this time.
0 commit comments