Coder Social home page Coder Social logo

heroku-buildpack-meteor's Introduction

Heroku buildpack for meteor

Usage

% heroku create --buildpack https://github.com/jordansissel/heroku-buildpack-meteor.git

Example

Create a sample app with 'meteor'

% meteor create --example todos
todos: created.

To run your new app:
   cd todos
   meteor

Put it in git.

% cd todos
% git init
Initialized empty Git repository in /tmp/a/todos/.git/
% git add .
% git commit -m "Sample todos app!"

Create your heroku app

% heroku create --buildpack https://github.com/jordansissel/heroku-buildpack-meteor.git

Or if your Heroku app already exists

% heroku buildpacks:set https://github.com/jordansissel/heroku-buildpack-meteor.git

Configure your plugins & settings

% heroku addons:create mongolab:sandbox  # optional: use whatever mongo provider you prefer
% heroku config:add MONGO_URL=<insert_value_of_MONGOLAB_URI_here>
% heroku config:add ROOT_URL=<insert_url_created_above_here>

Add session affinity so your app will still work with more than one dyno

% heroku labs:enable http-session-affinity

Optional step, if you are using a settings.json file to configure your Meteor application

% heroku config:add METEOR_SETTINGS="$(cat settings.json)"

Deploy it

% git push heroku master

Enjoy!

heroku-buildpack-meteor's People

Contributors

asfaltboy avatar brad avatar camstuart avatar gdumitrescu avatar idris avatar jfenton avatar jordansissel avatar leonardykris avatar martriay avatar nevtep avatar ravivmg avatar wfleming 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.