-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alexander Thiel
committed
Nov 17, 2014
1 parent
2540fcd
commit 24b0375
Showing
2 changed files
with
72 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,70 @@ | ||
mouflon | ||
======= | ||
# Important Note | ||
This project is not yet mature. Please come back in early 2015 if you intend to work with it. | ||
|
||
# Mouflon v0.1.9 | ||
|
||
> 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. | ||
|
||
```shell | ||
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 build. | ||
You can name it anything you like and the most simple version looks like this. | ||
|
||
```js | ||
//file: deploy.js | ||
var MouflonFactory, factory, mouflon; | ||
|
||
MouflonFactory = require('mouflon'); | ||
|
||
factory = MouflonFactory.createFromArgV(); | ||
|
||
mouflon = factory.createMouflon(); | ||
|
||
mouflon.deploy(); | ||
|
||
``` | ||
|
||
## 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. | ||
|
||
```js | ||
//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.9 Initial public release on npm after mouflon was used internally for some time | ||
|
||
--- | ||
|
||
Maintained by [Alexander Thiel](http://www.alexthiel.de) | ||
|
||
Mouflon - node.js based deployment tool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters