@@ -9,7 +9,7 @@ and troubleshoot your deployed :ref:`Application`.
99
1010Configure the Application
1111-------------------------
12- Use ``deis config `` to set a `DATABASE_URL ` that attaches
12+ Use ``deis config `` to set a `DATABASE_URL ` that attaches
1313the application to an external PostgreSQL database.
1414
1515.. code-block :: console
@@ -35,9 +35,9 @@ that power your app.
3535 $ deis scale web=8
3636 Scaling containers... but first, coffee!
3737 done in 20s
38-
38+
3939 === peachy-waxworks Containers
40-
40+
4141 --- web: `java -cp target/classes:target/dependency/* HelloWorld`
4242 web.1 up 2013-12-03T00:00:25.836Z (dev-runtime-1)
4343 web.2 up 2013-12-03T00:30:10.934Z (dev-runtime-1)
@@ -52,7 +52,7 @@ Applications deployed on Deis `scale out via the process model`_.
5252Web requests are automatically routed to the ``web `` processes
5353defined by your application.
5454
55- You must define process types like ``web `` or ``worker `` in a
55+ You must define process types like ``web `` or ``worker `` in a
5656`Procfile `_ in the root of your application repository.
5757
5858Administer the Application
@@ -74,6 +74,37 @@ Use ``deis run`` to execute commands against the deployed version of your applic
7474 Applications deployed on Deis `use one-off processes for admin tasks `_ like
7575database migrations and other tasks that must run against the live application.
7676
77+ Share the Application
78+ ---------------------
79+ Use ``deis sharing:add `` to allow another Deis user to collaborate on your
80+ application.
81+
82+ .. code-block :: console
83+
84+ $ deis sharing:add otheruser
85+ Adding otheruser to peachy-waxworks collaborators... done
86+
87+ Use ``deis sharing `` to see who an application is currently shared with, and
88+ ``deis sharing:remove `` to remove a collaborator.
89+
90+ .. note ::
91+ Collaborators can do anything with an application that its owner can do,
92+ except delete the application itself.
93+
94+ When working with an application that has been shared with you, clone
95+ the original repository and add Deis' git remote entry before attempting to
96+ ``git push `` any changes to Deis.
97+
98+ .. code-block :: console
99+
100+ $ git clone https://github.com/opdemand/example-java-jetty.git
101+ Cloning into 'example-java-jetty'... done
102+ $ cd example-java-jetty
103+ $ git remote add -f deis git@deis-controller.local:peachy-waxworks.git
104+ Updating deis
105+ From deis-controller.local:peachy-waxworks
106+ * [new branch] master -> deis/master
107+
77108 Troubleshoot the Application
78109----------------------------
79110Use ``deis logs `` to view the log output from your deployed application.
@@ -100,4 +131,4 @@ making it easy to troubleshoot problems with your application.
100131.. _`scale out via the process model` : http://12factor.net/concurrency
101132.. _`treat logs as event streams` : http://12factor.net/logs
102133.. _`use one-off processes for admin tasks` : http://12factor.net/admin-processes
103- .. _`Procfile` : http://ddollar.github.io/foreman/#PROCFILE
134+ .. _`Procfile` : http://ddollar.github.io/foreman/#PROCFILE
0 commit comments