Deploying - saarthaks/ESCFinance GitHub Wiki

Notes on how to deploy:

[1] Beginner guide to Installing Meteor 1.4 on AWS EC2

[2] Deploying a Meteor App with AWS Elastic Beanstalk

SSH into Elastic Beanstalk instance with eb ssh

Steps to update the current version:

  1. Build the new version
$ npm install --production
$ meteor build --directory ../build_tmp/ --architecture os.linux.x86_64
  1. Remove old build files
$ cd ../build/bundle
$ rm README
$ rm main.js
$ rm -rf programs
$ rm -rf server
$ rm star.json
  1. Copy new build files
  2. Deploy with eb deploy