Name: bluemix-buildpack-meteor-1
Owner: Rocket.Chat
Description: Meteor on Bluemix.
Forked from: tab00/bluemix-buildpack-meteor-1
Created: 2016-05-23 21:50:02.0
Updated: 2016-05-23 21:50:03.0
Pushed: 2016-05-24 05:09:36.0
Size: 8173
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This buildpack is derived from heroku-buildpack-meteorite by sweetleon via cloudfoundry-buildpack-meteorite.
This buildpack enables you to easily deploy meteor apps to IBM Bluemix.
Create a CF app and bind it to a MongoLab service. N.B.: MongoLab, not mongodb. Then run the following command in your terminal:
ush [APP_NAME] -b https://github.com/ind1go/bluemix-buildpack-meteor.git
Alternatively, you can specify the buildpack in your manifest.yml, if you have one:
ildpack: https://github.com/ind1go/bluemix-buildpack-meteor.git
You can specify meteor settings by setting the METEOR_SETTINGS
environment variable:
et-env [APP_NAME] METEOR_SETTINGS '{"herp":"derp"}'
You need to have a service for MongoLab available and bound to the app. Alternatively, you can set MONGO_URL
to point to your MongoDB outside of Bluemix with the command:
et-env [APP_NAME] MONGO_URL mongodb://[SERVER]:[PORT]/[DB] # substitute your configuration values
Meteor projects tend to contain MBs of dependencies that will be re-downloaded by the buildpack, and they can take a while to upload. It's a good idea to ignore the .meteor/local
folder within your Meteor project. To do so, create or modify a file called .cfignore
in the root of the project, and add the following line to it:
eor/local