ravanrijn / styx

Styx the open source Cloud Foundry console
MIT License
26 stars 10 forks source link

What is the start command? #5

Closed drnic closed 11 years ago

drnic commented 11 years ago
$ cf push
...
Preparing to start styx-console... OK
-----> Downloaded app package (24M)
Downloading JDK...
Copying openjdk-1.7.0_25.tar.gz from the buildpack cache ...
Unpacking JDK to .jdk
/var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:178:in `start_command': Please specify a web start command in your manifest.yml or Procfile (RuntimeError)
        from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:83:in `generate_startup_script'
        from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:182:in `startup_script'
        from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:116:in `block in create_startup_script'
        from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:115:in `open'
        from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:115:in `create_startup_script'
        from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:134:in `block in stage_application'
        from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:127:in `chdir'
        from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:127:in `stage_application'
        from /var/vcap/packages/dea_next/buildpacks/bin/run:10:in `<main>'
Checking status of app 'styx-console'...Application failed to stage
ravanrijn commented 11 years ago

Sorry our documentation is still a bit behind. We wanted to get the code out to others soon, so people could start using it.

Below is the contents of the manifest.yml that we use to push the application. You need the cloudfoundry-buildpack-java to run the application. I will check in my manifest, so people can use that to push the application.


applications:

ravanrijn commented 11 years ago

I have pushed our manifest.yml. Please do a git pull and a cf push --reset to redeploy the application. You should see that the cf push uses the manifest to select the correct buildpack.

drnic commented 11 years ago

Ok working now. Thanks.

I think the url field is no longer supported and can be removed.

Dr Nic Williams Stark & Wayne LLC - the consultancy for Cloud Foundry http://starkandwayne.com +1 415 860 2185 twitter: drnic

On Tue, Aug 13, 2013 at 10:29 AM, ravanrijn notifications@github.com wrote:

I have pushed our manifest.yml. Please do a git pull and a cf push --reset to redeploy the application. You should see that the cf push uses the manifest to select the correct buildpack.

Reply to this email directly or view it on GitHub: https://github.com/ravanrijn/styx/issues/5#issuecomment-22582395

ravanrijn commented 11 years ago

I already thought as much, as the url field is ignored during the push.

Good to hear you have got it up and running.