Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mup

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mup

Production Quality Meteor Deplouments

  • 0.1.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
762
increased by48.83%
Maintainers
1
Weekly downloads
 
Created
Source

Meteor UP

Production Quality Meteor Deployments

Meteor Up (mup for shorter) is a command line tool, which allows you to deploy any meteor app into a your own server. It support Ubuntu 12.04 or higher servers from any Cloud Infrastructure Provider.

Meteor UP Features

Server Configurations Meteor Up Does

  • Auto-Restart if the app crashed (using forever)
  • Auto-Start after the server reboot (using upstart)
  • Stepdown User Privileges
  • Revert to the previous version, if the deployment failed
  • Support for Hot Code Reload
  • Secured MongoDB Installation
  • Pre-Installed PhantomJS

Installation

npm install -g mup

If you are looking for password based authentication, you need to install sshpass on your local development machine.

Creating a Meteor Up Project

mkdir ~/my-meteor-deployment
cd ~/my-meteor-deployment
mup init

This will create two files in your mup project directory, which are:

  • mup.json - Meteor Up configuration file
  • settings.json - Settings for Meteor's settings API

mup.json is commented and easy to follow (it supports JavaScript comments)

Setting Up the Server

mup setup

This will setup the server for the mup deployments. It will take around 2-5 minutes depending on the server's performance and network availability.

Deploy the App

mup deploy

This will bundle the meteor project and deploy it to the server.

Access Logs

mup logs -f

Mup can tail logs from the server and it supports all the options of tail

Reconfiguring

After you've edit configurations or settings.json, you can reconfigure the app without deploying again. Use following command for that.

mup reconfig

Server Setup

Here is how Meteor Up, configure the server for you. This information will help you to customize server for your needs.

  • your app is lives in /opt/meteor/app
  • mup uses upstart with a config file at /etc/init/meteor.conf
  • you can start and stop the app with upstart: start meteor and stop meteor
  • logs are located at: /var/log/upstart/app.log
  • MongoDB installed and bind to the local interface (cannot access from the outside)
  • mongo is the name of the database

for more information see lib/taskLists.js

FAQs

Package last updated on 11 Dec 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc