Git Product home page Git Product logo

meteor-please's Introduction

meteor-please

npm version

Simple Meteor Deployment for RHEL/CentOS 7+

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)

Installation

npm install -g mplz

Usage

1. Initialise

Simply run in your Meteor project's directory:

mplz

You'll get a prompt to automatically configure a mplz.json for your project.

2. Setup Your Environment

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.

3. Deploy Your App

After the server setup is done, you can run this command to deploy your app:

mplz deploy

Easy!

Commands

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.

TODOs

  • SSL
  • Multiple instances/load balancing/oplog tailing
  • Prompt cleanup/validation
  • Support for node apps
  • Exclude folders

meteor-please's People

Contributors

kevincharm avatar mattsich avatar

Stargazers

 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.