@@ -22,41 +22,51 @@ then use the ``deis create`` command to create a new Deis application.
2222 Deploy the Application
2323----------------------
2424With the application created and associated with the SSH :ref: `Key ` on your account,
25- deploy it with ``git push deis master ``.
25+ deploy it with ``git push deis master ``. If you don't have an application to test with,
26+ you can use `our Dockerfile example `_.
2627
2728.. code-block :: console
2829
29- $ git push deis master
30- Counting objects: 17, done.
30+ ><> deis create --formation=dev
31+ Creating application... done, created owlish-huntress
32+ Git remote deis added
33+ ><> git push deis master
34+ Counting objects: 10, done.
3135 Delta compression using up to 8 threads.
32- Compressing objects: 100% (10/10), done.
33- Writing objects: 100% (17/17), 2.35 KiB, done.
34- Total 17 (delta 2), reused 0 (delta 0)
35- Java app detected
36- -----> Installing OpenJDK 1.6... done
37- -----> Installing Maven 3.0.3... done
38- -----> Installing settings.xml... done
39- -----> executing /cache/.maven/bin/mvn -B -Duser.home=/build/app -Dmaven.repo.local=/cache/.m2/repository -s /cache/.m2/settings.xml -DskipTests=true clean install
40- [INFO] Scanning for projects...
41- ...
42- [INFO] -------------------------------------------
43- [INFO] BUILD SUCCESS
44- [INFO] -------------------------------------------
45- [INFO] Total time: 11.771s
46- [INFO] Finished at: Tue Dec 03 00:00:03 UTC 2013
47- [INFO] Final Memory: 12M/142M
48- [INFO] -------------------------------------------
49- -----> Discovering process types
50- Procfile declares types -> web
36+ Compressing objects: 100% (9/9), done.
37+ Writing objects: 100% (10/10), 1.70 KiB | 0 bytes/s, done.
38+ Total 10 (delta 0), reused 0 (delta 0)
39+ -----> Building Docker image
40+ Uploading context 5.632 kB
41+ Uploading context
42+ Step 0 : FROM ubuntu:12.04
43+ ---> 9cd978db300e
44+ Step 1 : MAINTAINER OpDemand <info@opdemand.com>
45+ ---> Running in 9aefab8ad92c
46+ ---> da93d76703b7
47+ Step 2 : ENV PORT 8000
48+ ---> Running in 8ce25ddf4405
49+ ---> b6046ec54bb3
50+ Step 3 : ADD . /app
51+ ---> 5567f79d87fe
52+ Step 4 : WORKDIR /app
53+ ---> Running in 0b2c7906381c
54+ ---> 444006758e39
55+ Step 5 : CMD python -m SimpleHTTPServer $PORT
56+ ---> Running in b33074f3c0ea
57+ ---> 5a55b32b8da2
58+ Successfully built 5a55b32b8da2
59+ -----> Pushing image to private registry
5160
52- -----> Compiled slug size: 63.5 MB
5361 Launching... done, v2
54-
55- -----> peachy-waxworks deployed to Deis
56- http://peachy-waxworks.example.com ...
57-
58- $ curl -s http://peachy-waxworks.example.com
59- Powered by Deis!
62+
63+ -----> owlish-huntress deployed to Deis
64+ http://owlish-huntress.example.com
65+
66+ To learn more, use `deis help` or visit http://deis.io
67+
68+ ><> curl -s http://owlish-huntress.example.com
69+ <h1>Powered by Deis</h1>
6070
6171 Supported Applications
6272----------------------
@@ -86,7 +96,25 @@ fit for Deis. Deis currently suppports the following languages:
8696Support for many other languages and frameworks is possible through
8797use of custom `Heroku Buildpacks `_ and `Dockerfiles `_.
8898
99+ Example Applications
100+ --------------------
101+
102+ * Clojure: https://github.com/opdemand/example-clojure-ring
103+ * Dart: https://github.com/opdemand/example-dart
104+ * Dockerfile: https://github.com/opdemand/example-dockerfile-python
105+ * Golang: https://github.com/opdemand/example-go
106+ * Java: https://github.com/opdemand/example-java-jetty
107+ * Node.js: https://github.com/opdemand/example-nodejs-express
108+ * Perl: https://github.com/opdemand/example-perl
109+ * PHP: https://github.com/opdemand/example-php
110+ * Play: https://github.com/opdemand/example-play
111+ * Python/Django: https://github.com/opdemand/example-python-django
112+ * Python/Flask: https://github.com/opdemand/example-python-flask
113+ * Ruby: https://github.com/opdemand/example-ruby-sinatra
114+ * Scala: https://github.com/opdemand/example-scala
115+
89116.. _`Linux container engine` : http://docker.io/
90117.. _`twelve-factor methodology` : http://12factor.net/
91118.. _`Heroku Buildpacks` : https://devcenter.heroku.com/articles/buildpacks
92- .. _`Dockerfiles` : http://docs.docker.io/en/latest/use/builder/
119+ .. _`Dockerfiles` : http://docs.docker.io/en/latest/use/builder/
120+ .. _`our Dockerfile example` : https://github.com/opdemand/example-dockerfile-python
0 commit comments