Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 57 lines (43 sloc) 2.267 kb
7e741c9 @arunoda Update readme.md
authored
1 Nariya - Simple Continuous Deployment Server
2 ============================================
3
b9f3d71 @arunoda added support to use start*.js file to start the app
authored
4 Simple [Continuous Deployment](http://www.avc.com/a_vc/2011/02/continuous-deployment.html) Server
53ff3c2 @arunoda documentation added
authored
5
b35baec @arunoda bitbucket support added
authored
6 Nariya is a Continuous Deployment Server written in node.js and Design for easy of use. Currently It supports Github and Bitbucket based deployments.
53ff3c2 @arunoda documentation added
authored
7
b9f3d71 @arunoda added support to use start*.js file to start the app
authored
8 <b>Great for NodeJS project but designed to be work with any project</b>
9
c007029 @arunoda added screencast
authored
10 Screencast
11 ----------
12 <a href='http://www.youtube.com/watch?v=rNptRGFAPkM'>
13 <img src='https://lh6.googleusercontent.com/-zkEgabCO1P4/TpuXvP1CcnI/AAAAAAAAAfE/i4Mb4EXMLfM/s144/youtube.jpg' />
14 </a>
15
b9f3d71 @arunoda added support to use start*.js file to start the app
authored
16 How It Works
17 ------------
18
948c34c @arunoda readme updated
authored
19 * Install Nariya on your Server
b9f3d71 @arunoda added support to use start*.js file to start the app
authored
20 * First you add your Github based project to Nariya (its very easy)
21 * You'll get an unique web url
22 * Then you've to configure above as an Github Service Hook (webhook)
23 * After that when you did a commit following happens
948c34c @arunoda readme updated
authored
24 * Nariya will get the updated codebase to the server from github
b9f3d71 @arunoda added support to use start*.js file to start the app
authored
25 * Then if it is an NodeJS project it will `npm install`
26 * After if your projet folder has `pre.sh` file it will be executed
27 * Then If your node project has `start*.js` file Nariya will start that script with forever eg:- `start-app.js`, `startApp.js`
28 * Then it will look for `post.sh` and execute if exists
29 * You will get an email notification once this completed (look for configurations)
53ff3c2 @arunoda documentation added
authored
30
31 Install
32 -------
33
b9f3d71 @arunoda added support to use start*.js file to start the app
authored
34 sudo npm install forever -g
53ff3c2 @arunoda documentation added
authored
35 sudo npm install nariya -g
36
37 Usage
b9f3d71 @arunoda added support to use start*.js file to start the app
authored
38 -------
059d4a6 @arunoda git commit -m
authored
39
b9f3d71 @arunoda added support to use start*.js file to start the app
authored
40 * Start the Server - `nariya start`
41 * Visit your github based project and add it - `nariya add <project name>`
42 * You'll be shown an url
43 * Then add the url you generated as an Github Service Hook<br>
44 eg:- https://github.com/arunoda/nariya/admin/hooks
45 * That's all. Push some commit to master branch ans see for your self
46 * Add any number of projects you want
53ff3c2 @arunoda documentation added
authored
47
b9f3d71 @arunoda added support to use start*.js file to start the app
authored
48 Configurations
53ff3c2 @arunoda documentation added
authored
49 --------------
50
b9f3d71 @arunoda added support to use start*.js file to start the app
authored
51 * Nariya create an folder called `.nariya` on your home folder
52 * It contains `nariya.conf` file where you can add and edit project
53 * Also it contains log files for both nariya it self and projects as well
54 * In order work email notification correctly. You've to edit the `nariya.conf`
55 * Most of the configurations for the app is auto generated when adding. You can config via `nariya.conf`. Such as custom logpath, branch to get pulls
53ff3c2 @arunoda documentation added
authored
56
Something went wrong with that request. Please try again.