Deploying meteor.js app using `meteor`

I was thinking whether we can deploy Meteor.js app doing this:

  1. curl https://install.meteor.com | /bin/sh
  2. meteor create myApp
  3. cd myApp
  4. FTP app files into myApp directory
  5. meteor

I assume you are trying to deploy to your own server. Therefore your need to create the bundle which you can them FTP and expand in your server/directory as follows:

  1. create the bundle: meteor bundle myApp.tgz
  2. FTP myApp.tgz into your server/directory.
  3. Locate the uploaded tar file and extract it with the following command: tar -zxvf nameofyourapp.tgz

Note: If the machine you developed the application is different than the machine you are deploying to, you will need to rebuild the native package. To do this, enter the bundle/programs/server/node_modules directory. cd bundle/programs/server/node_modules Once there remove the fibers directory rm -r fibers Rebuild fibers using npm: npm install fibers This will install the latest fibers version, specific to the platform you are deploying to.

Best regards, Vince