Skip to content

Commit f828636

Browse files
committed
doc(deploying): Use example-go and update builder output
1 parent 100d64d commit f828636

1 file changed

Lines changed: 28 additions & 58 deletions

File tree

src/using-deis/using-buildpacks.md

Lines changed: 28 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ Deis supports deploying applications via [Heroku Buildpacks][]. Buildpacks are u
77

88
If you do not have an existing application, you can clone an example application that demonstrates the Heroku Buildpack workflow.
99

10-
$ git clone https://github.com/deis/example-ruby-sinatra.git
11-
$ cd example-ruby-sinatra
10+
$ git clone https://github.com/deis/example-go.git
11+
$ cd example-go
1212

1313

1414
## Create an Application
1515

1616
Use `deis create` to create an application on the [controller][].
1717

1818
$ deis create
19-
Creating application... done, created unisex-huntress
19+
Creating application... done, created skiing-keypunch
2020
Git remote deis added
2121

2222

@@ -25,69 +25,39 @@ Use `deis create` to create an application on the [controller][].
2525
Use `git push deis master` to deploy your application.
2626

2727
$ git push deis master
28-
Counting objects: 95, done.
28+
Counting objects: 75, done.
2929
Delta compression using up to 8 threads.
30-
Compressing objects: 100% (52/52), done.
31-
Writing objects: 100% (95/95), 20.24 KiB | 0 bytes/s, done.
32-
Total 95 (delta 41), reused 85 (delta 37)
33-
-----> Ruby app detected
34-
-----> Compiling Ruby/Rack
35-
-----> Using Ruby version: ruby-1.9.3
36-
-----> Installing dependencies using 1.5.2
37-
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
38-
Fetching gem metadata from http://rubygems.org/..........
39-
Fetching additional metadata from http://rubygems.org/..
40-
Using bundler (1.5.2)
41-
Installing tilt (1.3.6)
42-
Installing rack (1.5.2)
43-
Installing rack-protection (1.5.0)
44-
Installing sinatra (1.4.2)
45-
Your bundle is complete!
46-
Gems in the groups development and test were not installed.
47-
It was installed into ./vendor/bundle
48-
Bundle completed (8.81s)
49-
Cleaning up the bundler cache.
30+
Compressing objects: 100% (48/48), done.
31+
Writing objects: 100% (75/75), 18.28 KiB | 0 bytes/s, done.
32+
Total 75 (delta 30), reused 58 (delta 22)
33+
Starting build... but first, coffee!
34+
-----> Go app detected
35+
-----> Checking Godeps/Godeps.json file.
36+
-----> Installing go1.4.2... done
37+
-----> Running: godep go install -tags heroku ./...
5038
-----> Discovering process types
5139
Procfile declares types -> web
52-
Default process types for Ruby -> rake, console, web
53-
-----> Compiled slug size is 12M
54-
-----> Building Docker image
55-
Uploading context 11.81 MB
56-
Uploading context
57-
Step 0 : FROM deis/slugrunner
58-
---> 5567a808891d
59-
Step 1 : RUN mkdir -p /app
60-
---> Running in a4f8e66a79c1
61-
---> 5c07e1778b9e
62-
Removing intermediate container a4f8e66a79c1
63-
Step 2 : ADD slug.tgz /app
64-
---> 52d48b1692e5
65-
Removing intermediate container e9dfce920e26
66-
Step 3 : ENTRYPOINT ["/runner/init"]
67-
---> Running in 7a8416bce1f2
68-
---> 4a18f93f1779
69-
Removing intermediate container 7a8416bce1f2
70-
Successfully built 4a18f93f1779
71-
-----> Pushing image to private registry
72-
73-
Launching... done, v2
74-
75-
-----> unisex-huntress deployed to Deis
76-
http://unisex-huntress.local3.deisapp.com
77-
78-
To learn more, use `deis help` or visit http://deis.io
79-
80-
To ssh://git@local3.deisapp.com:2222/unisex-huntress.git
40+
-----> Compiled slug size is 1.7M
41+
Build complete.
42+
Launching app.
43+
Launching...
44+
Done, skiing-keypunch:v2 deployed to Deis
45+
46+
Use 'deis open' to view this application in your browser
47+
48+
To learn more, use 'deis help' or visit http://deis.io
49+
50+
To ssh://git@deis.staging-2.deis.com:2222/skiing-keypunch.git
8151
* [new branch] master -> master
8252

83-
$ curl -s http://unisex-huntress.local3.deisapp.com
84-
Powered by Deis!
53+
$ curl -s http://skiing-keypunch.example.com
54+
Powered by Deis
55+
Release v2 on skiing-keypunch-v2-web-02zb9
8556

8657
Because a Heroku-style application is detected, the `web` process type is automatically scaled to 1 on first deploy.
8758

8859
Use `deis scale web=3` to increase `web` processes to 3, for example. Scaling a
89-
process type directly changes the number of [Containers][container]
90-
running that process.
60+
process type directly changes the number of [pods] running that process.
9161

9262

9363
## Included Buildpacks
@@ -150,7 +120,7 @@ and set `BUILDPACK_URL` to the URL:
150120
$ git push deis master
151121

152122

153-
[container]: ../reference-guide/terms.md#container
123+
[pods]: http://kubernetes.io/v1.1/docs/user-guide/pods.html
154124
[controller]: ../understanding-deis/components.md#controller
155125
[Ruby Buildpack]: https://github.com/heroku/heroku-buildpack-ruby
156126
[Nodejs Buildpack]: https://github.com/heroku/heroku-buildpack-nodejs

0 commit comments

Comments
 (0)