Socket
Socket
Sign inDemoInstall

mouflon

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mouflon

Capistrano-like deployments using pure javascript/yml syntax (with config upload, linked dirs, and past releases)


Version published
Weekly downloads
4
increased by100%
Maintainers
3
Weekly downloads
 
Created
Source

Important Note

This project is not yet mature. Please come back in early 2015 if you intend to work with it.

Mouflon v0.2.6

js/yml tool that allows Capistrano-like automatic deployment with config upload, linked dirs, and past releases

How it works

...

Getting Started

Mouflon is still in an early stage of development and has only been tested on linux machines.

npm install mouflon --save-dev

Once Mouflon has been installed you need to create a main deployment file that you will later execute in order to deploy your application. You can name it anything you like and the most simple version looks like this.

//file: deploy.js
var MouflonFactory, factory, mouflon;

MouflonFactory = require('mouflon');

factory = MouflonFactory.createFromArgV();

mouflon = factory.createMouflon();

mouflon.deploy();

Add --v to the command for verbose mode

Directory structure

...

Customizations

Paths

There are four paths that can be customized inside your deploy.js. Make sure to do this before the mouflon instance is created using factory.createMouflon(). You can invoke MouflonFactory.setPaths() with one or more paths.

//Sets only the path for temporary files
factory.setPaths({
    temp:     './temp',
});

//Sets all paths:
factory.setPaths({
    config:   './config',
    settings: './settings',
    temp:     './temp',
    cache:    './cache'
});

Release History

  • 2014-11-17   v0.1.11   Initial public release on npm after mouflon was used internally for some time
  • 2014-12-01   v0.1.13   Added remote errors in stderr to the output
  • 2014-12-18   v0.2.1    Massive refactoring, shell now in silent mode, improved and indented log output, added --v flag
  • 2014-12-20   v0.2.1    Minor bug fixes
  • 2015-01-04   v0.2.3    Added gulp task
  • 2015-01-11   v0.2.4    Added tsd (typescript definitions from Definitely Typed) task
  • 2015-01-12   v0.2.5    Added support for git submodules
  • 2015-02-26   v0.2.6    Added configuration feature for dist subdirectories being deployed (instead of the whole project root)
  • 2015-06-03   v0.2.7    Added maven task (local)

Maintained by Alexander Thiel

FAQs

Package last updated on 03 Jun 2015

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