Just got CF deployed - What is a good first application tutorial?


admin@...
 

Fantastic! Thank you, Matthew! Soon I hope to be able to understand the reasons that worked... just start my CF education last night.

Now I can apparently push code, just need to figure out

Could you recommend a doc or tutorial for building and pushing a simple application - I don't care which framework, Ruby, Python, Node.js, it's all the same to me.

Thanks!


Remi Tassing
 


admin@...
 

Thanks, but

-----> Compiling Ruby/Rack
Could not get translated url, exited with: DEPENDENCY_MISSING_IN_MANIFEST: https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/ruby-2.1.5.tgz


When I try the s3 URL in a browser I see

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>0A8DA74BC355E61E</RequestId>
<HostId>
OAHOWhKzXcaZmIwMFTYXJmaLvzvyC5HxNRORtzEPvOZ/TFjWMvr8foQTqSuPYPxp
</HostId>
</Error>

On Oct 4, 2015, at 3:55 PM, remi clotaire tassing tagne <tassingremi(a)gmail.com> wrote:

Example app deployed on CF: https://docs.cloudfoundry.org/deploying/ec2/example_apps.html


Max Hufnagel <mhufnagel@...>
 

Hello!

It looks to me like the example application in
https://docs.cloudfoundry.org/deploying/ec2/example_apps.html was updated 7
months ago and doesn't recognize the new buildpack. Maybe if you explicitly
give it an old buildpack in your push command?

cf push your-app-name -b
https://github.com/cloudfoundry/ruby-buildpack.git#v1.3.0

On Sun, Oct 4, 2015 at 2:36 PM, Joseph Biron <admin(a)josephbiron.com> wrote:

Thanks, but

-----> Compiling Ruby/Rack
Could not get translated url, exited with:
DEPENDENCY_MISSING_IN_MANIFEST:
https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/ruby-2.1.5.tgz


When I try the s3 URL in a browser I see

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>0A8DA74BC355E61E</RequestId>
<HostId>
OAHOWhKzXcaZmIwMFTYXJmaLvzvyC5HxNRORtzEPvOZ/TFjWMvr8foQTqSuPYPxp
</HostId>
</Error>


On Oct 4, 2015, at 3:55 PM, remi clotaire tassing tagne <
tassingremi(a)gmail.com> wrote:

Example app deployed on CF:
https://docs.cloudfoundry.org/deploying/ec2/example_apps.html



Max Hufnagel <mhufnagel@...>
 

Also, you might want to check out some of the cool apps in the Cloud
Foundry Sample Applications repo:
repo: https://github.com/cloudfoundry-samples

On Sun, Oct 4, 2015 at 4:47 PM, Max Hufnagel <mhufnagel(a)pivotal.io> wrote:

Hello!

It looks to me like the example application in
https://docs.cloudfoundry.org/deploying/ec2/example_apps.html was updated
7 months ago and doesn't recognize the new buildpack. Maybe if you
explicitly give it an old buildpack in your push command?

cf push your-app-name -b
https://github.com/cloudfoundry/ruby-buildpack.git#v1.3.0



On Sun, Oct 4, 2015 at 2:36 PM, Joseph Biron <admin(a)josephbiron.com>
wrote:

Thanks, but

-----> Compiling Ruby/Rack
Could not get translated url, exited with:
DEPENDENCY_MISSING_IN_MANIFEST:
https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/ruby-2.1.5.tgz


When I try the s3 URL in a browser I see

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>0A8DA74BC355E61E</RequestId>
<HostId>
OAHOWhKzXcaZmIwMFTYXJmaLvzvyC5HxNRORtzEPvOZ/TFjWMvr8foQTqSuPYPxp
</HostId>
</Error>


On Oct 4, 2015, at 3:55 PM, remi clotaire tassing tagne <
tassingremi(a)gmail.com> wrote:

Example app deployed on CF:
https://docs.cloudfoundry.org/deploying/ec2/example_apps.html



admin@...
 

Thanks for the links, Max.

I really wanted a tutorial that is step by step, but I can work with these.

I think we need something like that to engage more developers with cloudfoundry.

I'm most concerned that as I try to "sell" this internally I'll get resistance due to poor documentation. Regardless of how good reference material is, the lack of starter tutorials is perceived as "weak community".

Perhaps I can put something together as I'm going through my first steps.

Is this something that the Pivotal offering does very well? I would think so.

JB

On Oct 4, 2015, at 7:50 PM, Max Hufnagel <mhufnagel(a)pivotal.io> wrote:

Also, you might want to check out some of the cool apps in the Cloud Foundry Sample Applications repo:
repo: https://github.com/cloudfoundry-samples

On Sun, Oct 4, 2015 at 4:47 PM, Max Hufnagel <mhufnagel(a)pivotal.io> wrote:
Hello!

It looks to me like the example application in https://docs.cloudfoundry.org/deploying/ec2/example_apps.html was updated 7 months ago and doesn't recognize the new buildpack. Maybe if you explicitly give it an old buildpack in your push command?

cf push your-app-name -b https://github.com/cloudfoundry/ruby-buildpack.git#v1.3.0



On Sun, Oct 4, 2015 at 2:36 PM, Joseph Biron <admin(a)josephbiron.com> wrote:
Thanks, but

-----> Compiling Ruby/Rack
Could not get translated url, exited with: DEPENDENCY_MISSING_IN_MANIFEST: https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/ruby-2.1.5.tgz


When I try the s3 URL in a browser I see

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>0A8DA74BC355E61E</RequestId>
<HostId>
OAHOWhKzXcaZmIwMFTYXJmaLvzvyC5HxNRORtzEPvOZ/TFjWMvr8foQTqSuPYPxp
</HostId>
</Error>


On Oct 4, 2015, at 3:55 PM, remi clotaire tassing tagne <tassingremi(a)gmail.com> wrote:

Example app deployed on CF: https://docs.cloudfoundry.org/deploying/ec2/example_apps.html


admin@...
 

Hey that explicit build pack worked great!

As a newb, could you tell me where I would change the config for the app to use this build pack rather than they original?

On Oct 4, 2015, at 7:47 PM, Max Hufnagel <mhufnagel(a)pivotal.io> wrote:

Hello!

It looks to me like the example application in https://docs.cloudfoundry.org/deploying/ec2/example_apps.html <https://docs.cloudfoundry.org/deploying/ec2/example_apps.html> was updated 7 months ago and doesn't recognize the new buildpack. Maybe if you explicitly give it an old buildpack in your push command?

cf push your-app-name -b https://github.com/cloudfoundry/ruby-buildpack.git#v1.3.0 <https://github.com/cloudfoundry/ruby-buildpack.git#v1.3.0>



On Sun, Oct 4, 2015 at 2:36 PM, Joseph Biron <admin(a)josephbiron.com <mailto:admin(a)josephbiron.com>> wrote:
Thanks, but

-----> Compiling Ruby/Rack
Could not get translated url, exited with: DEPENDENCY_MISSING_IN_MANIFEST: https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/ruby-2.1.5.tgz <https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/ruby-2.1.5.tgz>


When I try the s3 URL in a browser I see

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>0A8DA74BC355E61E</RequestId>
<HostId>
OAHOWhKzXcaZmIwMFTYXJmaLvzvyC5HxNRORtzEPvOZ/TFjWMvr8foQTqSuPYPxp
</HostId>
</Error>


On Oct 4, 2015, at 3:55 PM, remi clotaire tassing tagne <tassingremi(a)gmail.com <mailto:tassingremi(a)gmail.com>> wrote:

Example app deployed on CF: https://docs.cloudfoundry.org/deploying/ec2/example_apps.html <https://docs.cloudfoundry.org/deploying/ec2/example_apps.html>


Stormy
 

Hi Joseph,

If you do create anything as you go through your first steps, we'd love to
have it. We spend last Wednesday in a "doc sprint" working on the getting
started guides. The work is not all checked in yet. We are in the
cloudfoundy.slack.com, #cf-docs.

Stormy

On Mon, Oct 5, 2015 at 4:32 AM, <admin(a)josephbiron.com> wrote:

Thanks for the links, Max.

I really wanted a tutorial that is step by step, but I can work with
these.

I think we need something like that to engage more developers with
cloudfoundry.

I'm most concerned that as I try to "sell" this internally I'll get
resistance due to poor documentation. Regardless of how good reference
material is, the lack of starter tutorials is perceived as "weak
community".

Perhaps I can put something together as I'm going through my first steps.

Is this something that the Pivotal offering does very well? I would think
so.

JB

On Oct 4, 2015, at 7:50 PM, Max Hufnagel <mhufnagel(a)pivotal.io> wrote:

Also, you might want to check out some of the cool apps in the Cloud
Foundry Sample Applications repo:
repo: https://github.com/cloudfoundry-samples

On Sun, Oct 4, 2015 at 4:47 PM, Max Hufnagel <mhufnagel(a)pivotal.io> wrote:

Hello!

It looks to me like the example application in
https://docs.cloudfoundry.org/deploying/ec2/example_apps.html was
updated 7 months ago and doesn't recognize the new buildpack. Maybe if you
explicitly give it an old buildpack in your push command?

cf push your-app-name -b
https://github.com/cloudfoundry/ruby-buildpack.git#v1.3.0



On Sun, Oct 4, 2015 at 2:36 PM, Joseph Biron <admin(a)josephbiron.com>
wrote:

Thanks, but

-----> Compiling Ruby/Rack
Could not get translated url, exited with:
DEPENDENCY_MISSING_IN_MANIFEST:
https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/ruby-2.1.5.tgz


When I try the s3 URL in a browser I see

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>0A8DA74BC355E61E</RequestId>
<HostId>
OAHOWhKzXcaZmIwMFTYXJmaLvzvyC5HxNRORtzEPvOZ/TFjWMvr8foQTqSuPYPxp
</HostId>
</Error>


On Oct 4, 2015, at 3:55 PM, remi clotaire tassing tagne <
tassingremi(a)gmail.com> wrote:

Example app deployed on CF:
https://docs.cloudfoundry.org/deploying/ec2/example_apps.html



Dave Nielsen <dnielsen@...>
 

Hi Joseph,

You can add an entry into the manifest.yml file to specify the specific
build pack you want to use. Here's an example of a manifest.yml that
specifies a buildpack located in the Cloud Foundry github repo.

applications:
- name: cf-node-contactform
host: cf-node-contactform-dcn6
memory: 128M
command: node server.js
buildpack: *https://github.com/cloudfoundry/nodejs-buildpack.git
<https://github.com/cloudfoundry/nodejs-buildpack.git>*

Best,
Dave

Dave Nielsen
Organizer: SVCloudFoundry <http://meetup.com/cloudfoundry>
Developer Relations, Redis Labs
twitter davenielsen <http://twitter.com/davenielsen>; linkedin dnielsen
<http://linkedin.com/in/dnielsen>; fb: dcnielsen <http://fb.com/dcnielsen>
skype: davenielsen; gtalk: dnielsen; mobile: +1-415-531-6674

On Mon, Oct 5, 2015 at 4:01 AM, Joseph Biron <admin(a)josephbiron.com> wrote:

Hey that explicit build pack worked great!

As a newb, could you tell me where I would change the config for the app
to use this build pack rather than they original?



On Oct 4, 2015, at 7:47 PM, Max Hufnagel <mhufnagel(a)pivotal.io> wrote:

Hello!

It looks to me like the example application in
https://docs.cloudfoundry.org/deploying/ec2/example_apps.html was updated
7 months ago and doesn't recognize the new buildpack. Maybe if you
explicitly give it an old buildpack in your push command?

cf push your-app-name -b
https://github.com/cloudfoundry/ruby-buildpack.git#v1.3.0



On Sun, Oct 4, 2015 at 2:36 PM, Joseph Biron <admin(a)josephbiron.com>
wrote:

Thanks, but

-----> Compiling Ruby/Rack
Could not get translated url, exited with:
DEPENDENCY_MISSING_IN_MANIFEST:
https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/ruby-2.1.5.tgz


When I try the s3 URL in a browser I see

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>0A8DA74BC355E61E</RequestId>
<HostId>
OAHOWhKzXcaZmIwMFTYXJmaLvzvyC5HxNRORtzEPvOZ/TFjWMvr8foQTqSuPYPxp
</HostId>
</Error>


On Oct 4, 2015, at 3:55 PM, remi clotaire tassing tagne <
tassingremi(a)gmail.com> wrote:

Example app deployed on CF:
https://docs.cloudfoundry.org/deploying/ec2/example_apps.html



Dave Nielsen <dnielsen@...>
 

By the way, my "Deploy Your First Cloud Foundry App" talk
<https://www.youtube.com/watch?v=RC1HX_7aGa8&index=5&list=PLhuMOCWn4P9g-UMN5nzDiw78zgf5rJ4gR>
from CFSummit is up on Youtube. It's for beginners, but it might be
helpful. You can download the presentation and quickstart guide from here:
http://cloudworkshop.org/cloudfoundry

Best,
Dave

Dave Nielsen
Organizer: SVCloudFoundry <http://meetup.com/cloudfoundry>
Developer Relations, Redis Labs
twitter davenielsen <http://twitter.com/davenielsen>; linkedin dnielsen
<http://linkedin.com/in/dnielsen>; fb: dcnielsen <http://fb.com/dcnielsen>
skype: davenielsen; gtalk: dnielsen; mobile: +1-415-531-6674

On Mon, Oct 5, 2015 at 6:33 AM, Dave Nielsen <dnielsen(a)gmail.com> wrote:

Hi Joseph,

You can add an entry into the manifest.yml file to specify the specific
build pack you want to use. Here's an example of a manifest.yml that
specifies a buildpack located in the Cloud Foundry github repo.

applications:
- name: cf-node-contactform
host: cf-node-contactform-dcn6
memory: 128M
command: node server.js
buildpack: *https://github.com/cloudfoundry/nodejs-buildpack.git
<https://github.com/cloudfoundry/nodejs-buildpack.git>*

Best,
Dave

Dave Nielsen
Organizer: SVCloudFoundry <http://meetup.com/cloudfoundry>
Developer Relations, Redis Labs
twitter davenielsen <http://twitter.com/davenielsen>; linkedin dnielsen
<http://linkedin.com/in/dnielsen>; fb: dcnielsen <http://fb.com/dcnielsen>
skype: davenielsen; gtalk: dnielsen; mobile: +1-415-531-6674


On Mon, Oct 5, 2015 at 4:01 AM, Joseph Biron <admin(a)josephbiron.com>
wrote:

Hey that explicit build pack worked great!

As a newb, could you tell me where I would change the config for the app
to use this build pack rather than they original?



On Oct 4, 2015, at 7:47 PM, Max Hufnagel <mhufnagel(a)pivotal.io> wrote:

Hello!

It looks to me like the example application in
https://docs.cloudfoundry.org/deploying/ec2/example_apps.html was
updated 7 months ago and doesn't recognize the new buildpack. Maybe if you
explicitly give it an old buildpack in your push command?

cf push your-app-name -b
https://github.com/cloudfoundry/ruby-buildpack.git#v1.3.0



On Sun, Oct 4, 2015 at 2:36 PM, Joseph Biron <admin(a)josephbiron.com>
wrote:

Thanks, but

-----> Compiling Ruby/Rack
Could not get translated url, exited with:
DEPENDENCY_MISSING_IN_MANIFEST:
https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/ruby-2.1.5.tgz


When I try the s3 URL in a browser I see

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>0A8DA74BC355E61E</RequestId>
<HostId>
OAHOWhKzXcaZmIwMFTYXJmaLvzvyC5HxNRORtzEPvOZ/TFjWMvr8foQTqSuPYPxp
</HostId>
</Error>


On Oct 4, 2015, at 3:55 PM, remi clotaire tassing tagne <
tassingremi(a)gmail.com> wrote:

Example app deployed on CF:
https://docs.cloudfoundry.org/deploying/ec2/example_apps.html



admin@...
 

Perfect. Beginner is what I am!

JB

On Oct 5, 2015, at 10:27 AM, Dave Nielsen <dnielsen(a)gmail.com> wrote:

By the way, my "Deploy Your First Cloud Foundry App" talk from CFSummit is up on Youtube. It's for beginners, but it might be helpful. You can download the presentation and quickstart guide from here: http://cloudworkshop.org/cloudfoundry

Best,
Dave

Dave Nielsen
Organizer: SVCloudFoundry
Developer Relations, Redis Labs
twitter davenielsen; linkedin dnielsen; fb: dcnielsen
skype: davenielsen; gtalk: dnielsen; mobile: +1-415-531-6674


On Mon, Oct 5, 2015 at 6:33 AM, Dave Nielsen <dnielsen(a)gmail.com> wrote:
Hi Joseph,

You can add an entry into the manifest.yml file to specify the specific build pack you want to use. Here's an example of a manifest.yml that specifies a buildpack located in the Cloud Foundry github repo.

applications:
- name: cf-node-contactform
host: cf-node-contactform-dcn6
memory: 128M
command: node server.js
buildpack: https://github.com/cloudfoundry/nodejs-buildpack.git

Best,
Dave

Dave Nielsen
Organizer: SVCloudFoundry
Developer Relations, Redis Labs
twitter davenielsen; linkedin dnielsen; fb: dcnielsen
skype: davenielsen; gtalk: dnielsen; mobile: +1-415-531-6674


On Mon, Oct 5, 2015 at 4:01 AM, Joseph Biron <admin(a)josephbiron.com> wrote:
Hey that explicit build pack worked great!

As a newb, could you tell me where I would change the config for the app to use this build pack rather than they original?



On Oct 4, 2015, at 7:47 PM, Max Hufnagel <mhufnagel(a)pivotal.io> wrote:

Hello!

It looks to me like the example application in https://docs.cloudfoundry.org/deploying/ec2/example_apps.html was updated 7 months ago and doesn't recognize the new buildpack. Maybe if you explicitly give it an old buildpack in your push command?

cf push your-app-name -b https://github.com/cloudfoundry/ruby-buildpack.git#v1.3.0



On Sun, Oct 4, 2015 at 2:36 PM, Joseph Biron <admin(a)josephbiron.com> wrote:
Thanks, but

-----> Compiling Ruby/Rack
Could not get translated url, exited with: DEPENDENCY_MISSING_IN_MANIFEST: https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/ruby-2.1.5.tgz


When I try the s3 URL in a browser I see

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>0A8DA74BC355E61E</RequestId>
<HostId>
OAHOWhKzXcaZmIwMFTYXJmaLvzvyC5HxNRORtzEPvOZ/TFjWMvr8foQTqSuPYPxp
</HostId>
</Error>


On Oct 4, 2015, at 3:55 PM, remi clotaire tassing tagne <tassingremi(a)gmail.com> wrote:

Example app deployed on CF: https://docs.cloudfoundry.org/deploying/ec2/example_apps.html