Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmuellr/cf-node-hello-git
a cf app that stages the app from github
https://github.com/pmuellr/cf-node-hello-git
Last synced: about 2 months ago
JSON representation
a cf app that stages the app from github
- Host: GitHub
- URL: https://github.com/pmuellr/cf-node-hello-git
- Owner: pmuellr
- Created: 2014-02-11T14:32:02.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-11T14:41:16.000Z (almost 11 years ago)
- Last Synced: 2024-04-09T21:04:43.971Z (10 months ago)
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
cf-node-hello-git
================================================================================An example of pushing a git repo of a node.js app to CloudFoundry, using
[Jame's Bayer's scm-buildpack](https://groups.google.com/a/cloudfoundry.org/d/msg/vcap-dev/9eC_wNg2DPc/FcYDlrkeH7UJ).usage
================================================================================run:
git clone https://github.com/pmuellr/cf-node-hello-git
cd cf-node-hello-git
cf pushand behold your new hello world server is running!
references
================================================================================* :
git repo containing the app we want to push* :
git repo containing the multi-buildpack buildpack* :
git repo containing the git buildpack* :
git repo containing the node buildpackfiles
================================================================================`.buildpacks`
--------------------------------------------------------------------------------Contains two entries,
https://github.com/jbayer/scm-buildpack.git
https://github.com/cloudfoundry/heroku-buildpack-nodejs.gitThe first is Jame's Bayer's awesome
[scm-buildpack](https://github.com/jbayer/scm-buildpack)
which does all the git cloning work on the staging server.The second is the actual buildpack we want to use with our the app we want
pushed to CloudFoundry; it's a node app, so we're using the default node
buildpack.`.scmbuildpack`
--------------------------------------------------------------------------------This is a just a marker file, it can be empty. The `scm-buildpack` buildpack
checks for this file's existance before continuing.`manifest.yml`
--------------------------------------------------------------------------------This is the manifest for your application.
applications:
- name: cf-node-hello-blortz
memory: 128M
buildpack: https://github.com/ddollar/heroku-buildpack-multi.git
path: .
env:
SCM_URL: https://github.com/pmuellr/cf-node-hello.gitSome notes:
* `name` is the application name that's pushed. **CHANGE IT!!**
* `buildpack` points to a special buildpack that runs multiple buildpacks; in
this case, the buildpacks specified in the `.buildpacks` file.* `SCM_URL` should be set to the git repo you want to pull from; this is the git
repo of the actual app* The "start command" for this app is specified in the
[`Procfile`](https://github.com/pmuellr/cf-node-hello/blob/master/Procfile)
of the app itself.`README.md`
--------------------------------------------------------------------------------This file!