Skip to content

tab00/bluemix-buildpack-meteor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bluemix buildpack for Meteor

Supported version

This buildpack is dedicated for use with Meteor 1.0+.

Usage

  • Create Meteor application
$ meteor create testmeteor
testmeteor: created.

To run your new app:
   cd testmeteor
   meteor
  • Run and test the application in your local until all functions are stistisfied

  • Since Bluemix planed to remove the MongoLab service around end of January 2016. It is recommended to create mongodb instance from MongoLab as the link https://mongolab.com. You need to subscribe if you haven't done so. Then follow the steps below.

  • Click "Create new" button to create mongo database CreateNewMongoDB

  • Select "Single-node" > Select Standard Line as "Sandbox" SelectPlan

  • Set database name and click "Create new MongoDB deployment" NameDatabase

  • Click on the new created database NewDatabaseCreated

  • Copy the mongodb URI to use in later step MongoDBURI

  • Click "Users" tab and add new user and password. It can be the same as you login user and password. AddDatabaseUser

  • In Bluemix console, create "Mongo by Compose" service and supply the MongoDB URI in the host field for the other fields you can supply any values. MongoByCompose

  • Create manifest.yml and put it under the testmeteor folder. Here is the sample yml.

---
applications:
- memory: 1GB
  domain: mybluemix.net
  path: .
  buildpack: https://github.com/bancha001/bluemix-buildpack-meteor
  host: testmeteor
  name: testmeteor
  disk: 512M
  services:
    - MongoLab-4d
  instances: 1
  • Create .cfignore to exclude the path 'local' to be uploaded
.meteor/local
  • In testmeteor/.meteor folder, open the platforms file then remove the ios and android entries (if there exist)

  • Under testmeteor, Run

cf push

About

Bluemix buildpack for Meteor (meteor.com)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%