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


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


Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.