Git Product home page Git Product logo

bluemix-buildpack-meteor's Introduction

Bluemix buildpack: Meteor

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.

Usage

Create a CF app and bind it to a MongoLab service. N.B.: MongoLab, not mongodb. Then run the following command in your terminal:

cf push [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:

  buildpack: https://github.com/ind1go/bluemix-buildpack-meteor.git

NOTES

You can specify meteor settings by setting the METEOR_SETTINGS environment variable:

cf set-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:

cf set-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:

.meteor/local

bluemix-buildpack-meteor's People

Contributors

adrienlemaire avatar areed avatar cleishm avatar ddollar avatar hone avatar ind1go avatar lackac avatar lukeadams avatar matb33 avatar mmcgrana avatar paralin avatar sachag avatar sweetleon avatar timhaines avatar timshadel avatar tmeasday avatar xyand avatar zbuc avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.