Skip to content

Commit 79f1bfa

Browse files
author
Matthew Fisher
committed
elaborate on app deployment
1 parent cf928d7 commit 79f1bfa

1 file changed

Lines changed: 26 additions & 23 deletions

File tree

docs/developer/deploy-application.rst

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,40 @@
44

55
Deploy an Application
66
=====================
7-
Deis allows you to deploy and scale your :ref:`Application` in seconds
8-
using Docker's industry-standard `Linux container engine`_.
7+
8+
An :ref:`Application` is typically deployed to Deis by pushing source code using the deis
9+
client or other clients that communicate with Deis' API endpoints. Deploying
10+
applications will be different depending on the source code and its requirements.
11+
12+
Authenticating with the API
13+
---------------------------
14+
15+
Before deploying an application, all users must first authenticate against the Deis
16+
:ref:`Controller`. For example:
17+
18+
.. code-block:: console
19+
20+
$ deis login http://example.com
21+
username: deis
22+
password:
23+
Logged in as deis
924
1025
Create an Application
1126
---------------------
12-
Change directory into a git repository for the app you'd like to deploy,
13-
then use the ``deis create`` command to create a new Deis application.
27+
28+
Change to the root directory of your project you'd like to deploy, then use the ``deis
29+
create`` command to create a remote repository for you to push your application to.
1430

1531
.. code-block:: console
1632
1733
$ cd example-java-jetty # change into your application's git root
18-
$ deis create
34+
$ deis create --formation=dev
1935
Creating application... done, created peachy-waxworks
2036
Git remote deis added
2137
2238
Deploy the Application
2339
----------------------
40+
2441
With the application created and associated with the SSH :ref:`Key` on your account,
2542
deploy it with ``git push deis master``. If you don't have an application to test with,
2643
you can use `our Dockerfile example`_.
@@ -70,6 +87,7 @@ you can use `our Dockerfile example`_.
7087
7188
Supported Applications
7289
----------------------
90+
7391
As a Heroku-inspired Platform-as-a-Service, Deis is designed to deploy and scale
7492
apps that adhere to `twelve-factor methodology`_.
7593

@@ -81,24 +99,6 @@ Fortunately, most modern applications feature a stateless application tier that
8199
can scale horizontally behind a load balancer. These applications are a perfect
82100
fit for Deis. Deis currently suppports the following languages:
83101

84-
* Java
85-
* Python
86-
* Ruby
87-
* Node.js
88-
* Clojure
89-
* Scala
90-
* Play Framework
91-
* PHP
92-
* Perl
93-
* Dart
94-
* Go
95-
96-
Support for many other languages and frameworks is possible through
97-
use of custom `Heroku Buildpacks`_ and `Dockerfiles`_.
98-
99-
Example Applications
100-
--------------------
101-
102102
* Clojure: https://github.com/opdemand/example-clojure-ring
103103
* Dart: https://github.com/opdemand/example-dart
104104
* Dockerfile: https://github.com/opdemand/example-dockerfile-python
@@ -113,6 +113,9 @@ Example Applications
113113
* Ruby: https://github.com/opdemand/example-ruby-sinatra
114114
* Scala: https://github.com/opdemand/example-scala
115115

116+
Support for many other languages and frameworks is possible through
117+
use of custom `Heroku Buildpacks`_ and `Dockerfiles`_.
118+
116119
.. _`Linux container engine`: http://docker.io/
117120
.. _`twelve-factor methodology`: http://12factor.net/
118121
.. _`Heroku Buildpacks`: https://devcenter.heroku.com/articles/buildpacks

0 commit comments

Comments
 (0)