Meteor.sh is a simple Shellscript to setup a Meteor server and deploy Meteor apps to it.
Because deploying to custom servers should be as simple as everything else in Meteor.
Please note: as of October 2013, meteor.sh is NOT compatible with Meteor versions < 0.6.6 anymore. If you used an earlier version, see this issue for some ideas on how to update your server setup.
Meteor.sh assumes that you have some kind of Ubuntu-Server and root access to it.
Move the meteor.sh
file into your project dir and change the APP_HOST
variable.
Meteor.sh will try to SSH as root to APP_HOST
.
If your server happens to be an Amazon EC2 instance, uncomment the EC2_PEM_FILE
variable and point it to your pem file. Meteor.sh will then do the right things for those instances.
./meteor.sh setup
This will install Node, Mongo and other dependencies for Meteor and Meteor.sh on APP_HOST
.
./meteor.sh deploy
Deploys your app to the server and starts it as a service.
Meteor.sh will detect if your project uses Meteorite and use it accordingly.