Deploy your Meteor app on RHEL flavoured boxes via SSH, and keep your apps alive with systemd. Your app is served through reverse proxy by nginx. This is a deployment tool that I personally use in production, based on meteor-up. If you encounter any bugs or have a feature request, please post an issue. (SSL is implemented but not tested thoroughly yet)
npm install -g mplz
Simply run in your Meteor project's directory:
mplz
You'll get a prompt to automatically configure a mplz.json
for your project.
Once you've got a configuration file, you can spin up your server, then use this command inside your project directory to install the production environment (nodejs, mongodb, nginx):
mplz setup
Now go grab a coffee, because it will probably take some time for all the things to install.
After the server setup is done, you can run this command to deploy your app:
mplz deploy
Easy!
mplz init Reconfigures your app's mplz.json
settings file.
mplz setup Sets up your server according to your mplz.json
settings.
mplz deploy Deploys your app according to your mplz.json
settings.
mplz reconfig Apply any configuration changes if your mplz.json
has been modified since last setup.
mplz start Starts your app. (systemd)
mplz stop Stops your app. (systemd)
mplz restart Restarts your app. (systemd)
mplz delete Deletes your app from the deployment directory.
- SSL
- Multiple instances/load balancing/oplog tailing
- Prompt cleanup/validation
- Support for node apps
- Exclude folders