@@ -33,7 +33,7 @@ Why Deis?
3333Deploy anything
3434---------------
3535
36- Deploy a wide range of languages and frameworks with a simple git push
36+ Deploy a wide range of languages and frameworks with a simple git push
3737using Heroku Buildpacks or Dockerfiles. Use custom Chef layers to deploy
3838databases, middleware and other add-on services.
3939
@@ -49,32 +49,122 @@ Manage your platform with a private Deis controller.
4949Scale effortlessly
5050------------------
5151
52- Scale nodes and containers with a single command. Node provisioning,
52+ Scale nodes and containers with a single command. Node provisioning,
5353container balancing and proxy reconfiguration are completely automated.
5454
5555
5656100% Open Source
5757----------------
5858
59- Free, transparent and easily customized. Join the open-source PaaS
60- and DevOps community by using Deis and complimentary projects like
59+ Free, transparent and easily customized. Join the open-source PaaS
60+ and DevOps community by using Deis and complimentary projects like
6161Docker, Chef and Heroku Buildpacks.
6262
6363
6464Getting Started
6565---------------
6666
67- Installing the Deis client from the Python Package Index is simple:
68-
69- ::
67+ Installing the Deis client using `pip `_ is simple::
7068
7169 $ pip install deis
7270
73- The client will automatically install the following dependencies:
71+ ` pip `_ will automatically install the following dependencies:
7472
73+ - `docopt <http://docopt.org >`__
7574- `pyyaml <https://bitbucket.org/xi/pyyaml >`__
7675- `requests <http://python-requests.org >`__
7776
77+ You should know the fully-qualified domain name of an existing
78+ Deis controller. To set up a Deis controller, see the
79+ `Installation `_ documentation.
80+
81+ Registration will discover SSH keys automatically and use the
82+ `standard environment variables `_ to configure the EC2 provider.
83+
84+ .. code-block :: console
85+
86+ $ deis register http://my-deis-controller.fqdn
87+ username: myuser
88+ password:
89+ email: myuser@example.com
90+ Registered myuser
91+ Logged in as myuser
92+
93+ Found the following SSH public keys:
94+ 1) id_rsa.pub
95+ Which would you like to use with Deis? 1
96+ Uploading /Users/myuser/.ssh/id_rsa.pub to Deis... done
97+
98+ Found EC2 credentials: AKIAJTVXXXXXXXXXXXXX
99+ Import these credentials? (y/n) : y
100+ Uploading EC2 credentials... done
101+
102+ Find an application you’d like to deploy, or clone `an example app `_.
103+
104+ Change into the application directory and use ``deis create `` to initialize
105+ a new formation in a specific EC2 region.
106+
107+ Use the ``deis layers:scale `` command to provision nodes that will be
108+ dedicated to this formation.
109+
110+ .. code-block :: console
111+
112+ $ cd <my-application-repo>
113+ $ deis create --flavor=ec2-us-west-2
114+ Creating formation... done, created peachy-waxworks
115+ Git remote deis added
116+
117+ Creating runtime layer... done
118+ Creating proxy layer... done
119+
120+ Use deis layers:scale proxy=1 runtime=1 to scale a basic formation
121+
122+ $ deis layers:scale proxy=1 runtime=1
123+ Scaling layers... but first, coffee!
124+ ...done in 232s
125+
126+ Use `git push deis master` to deploy to your formation
127+
128+
129+ Use ``git push deis master `` to deploy your application.
130+
131+ Deis will automatically deploy Docker containers and configure Nginx proxies
132+ to route requests to your application.
133+
134+ .. code-block :: console
135+
136+ $ git push deis master
137+ Counting objects: 146, done.
138+ Delta compression using up to 8 threads.
139+ Compressing objects: 100% (122/122), done.
140+ Writing objects: 100% (146/146), 21.54 KiB, done.
141+ Total 146 (delta 84), reused 47 (delta 22)
142+ Node.js app detected
143+ -----> Resolving engine versions
144+ Using Node.js version: 0.10.15
145+ Using npm version: 1.2.30
146+ ...
147+ -----> Building runtime environment
148+ -----> Discovering process types
149+ Procfile declares types -> web
150+
151+ -----> Compiled slug size: 4.7 MB
152+ Launching... done, v2
153+
154+ -----> peachy-waxworks deployed to Deis
155+ http://ec2-198.51.100.36.us-west-2.compute.amazonaws.com ...
156+
157+ $ curl -s http://ec2-198.51.100.36.us-west-2.compute.amazonaws.com
158+ Powered by Deis!
159+
160+ To learn more, use ``deis help `` or browse `the documentation `_.
161+
162+ .. _`pip` : http://www.pip-installer.org/en/latest/installing.html
163+ .. _`Installation` : http://docs.deis.io/en/latest/gettingstarted/installation/
164+ .. _`standard environment variables` : http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SettingUp_CommandLine.html#set_aws_credentials_linux
165+ .. _`an example app` : https://github.com/opdemand/example-nodejs-express
166+ .. _`the documentation` : http://docs.deis.io/
167+
78168
79169License
80170-------
@@ -83,7 +173,7 @@ Copyright 2013, OpDemand LLC
83173
84174Licensed under the Apache License, Version 2.0 (the "License"); you may not
85175use this file except in compliance with the License. You may obtain a copy of
86- the License at <http://www.apache.org/licenses/LICENSE-2.0>
176+ the License at ` <http://www.apache.org/licenses/LICENSE-2.0 >`__.
87177
88178Unless required by applicable law or agreed to in writing, software
89179distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0 commit comments