Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Aug 20, 2015
0 parents commit 7b7da13
Show file tree
Hide file tree
Showing 221 changed files with 21,943 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
_site
.sass-cache
node_modules
*.log
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pm2.keymetrics.io
1,773 changes: 1,773 additions & 0 deletions FULL.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source 'https://rubygems.org'

gem 'jekyll'
gem 'jekyll-redirect-from'
gem 'jekyll-lunr-js-search'
87 changes: 87 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
GEM
remote: https://rubygems.org/
specs:
blankslate (2.1.2.4)
celluloid (0.16.0)
timers (~> 4.0.0)
classifier-reborn (2.0.3)
fast-stemmer (~> 1.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.9.1.1)
colorator (0.1)
execjs (2.5.2)
fast-stemmer (1.0.2)
ffi (1.9.10)
hitimes (1.2.2)
jekyll (2.5.3)
classifier-reborn (~> 2.0)
colorator (~> 0.1)
jekyll-coffeescript (~> 1.0)
jekyll-gist (~> 1.0)
jekyll-paginate (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 2.6.1)
mercenary (~> 0.3.3)
pygments.rb (~> 0.6.0)
redcarpet (~> 3.1)
safe_yaml (~> 1.0)
toml (~> 0.1.0)
jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2)
jekyll-gist (1.2.1)
jekyll-lunr-js-search (0.3.0)
json (~> 1.8)
nokogiri (~> 1.6)
therubyracer (~> 0.12)
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.8.0)
jekyll (>= 2.0)
jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-watch (1.2.1)
listen (~> 2.7)
json (1.8.3)
kramdown (1.8.0)
libv8 (3.16.14.11)
liquid (2.6.3)
listen (2.10.1)
celluloid (~> 0.16.0)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
mercenary (0.3.5)
mini_portile (0.6.2)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
parslet (1.5.0)
blankslate (~> 2.0)
posix-spawn (0.3.11)
pygments.rb (0.6.3)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.2.0)
rb-fsevent (0.9.5)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
redcarpet (3.3.2)
ref (2.0.0)
safe_yaml (1.0.4)
sass (3.4.16)
therubyracer (0.12.2)
libv8 (~> 3.16.14.0)
ref
timers (4.0.1)
hitimes
toml (0.1.2)
parslet (~> 1.5.0)
yajl-ruby (1.2.1)

PLATFORMS
ruby

DEPENDENCIES
jekyll
jekyll-lunr-js-search
jekyll-redirect-from
54 changes: 54 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@

// From module strip-yaml-header
var pattern = pattern = '^(' +
'((= yaml =)|(---))' +
'$([\\s\\S]*?)' +
'\\2' +
'$' +
(process.platform === 'win32' ? '\\r?' : '') +
'(?:\\n)?)';
var yamlRegexp = new RegExp(pattern, 'm');
function replaceByBr(text) {
return text.replace(yamlRegexp, function (all) {
var lines = all.split("\n");
return (new Array(lines.length)).join("");
});

}
function normalize(markdown) {
if (yamlRegexp.test(markdown)) {
return replaceByBr(markdown);
}
return markdown;
}

module.exports = function(grunt) {

var i = 0;

// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
options: {
stripBanners: true,
process: function(src, filepath) {
i++;
if (i == 1) { return src;}
return normalize(src);
}
},
dist: {
src: ['docs/intro.md',
'docs/features/*'],
dest: 'docs/full.md'
}
}
});

grunt.loadNpmTasks('grunt-contrib-concat');

// Default task(s).
grunt.registerTask('default', ['concat']);

};
30 changes: 30 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Site settings
title: PM2
email: [email protected]
description: > # this means to ignore newlines until "baseurl:"
Advanced process manager for production Node.js applications. Load balancer, logs facility,
startup script, micro service management, at a glance.
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://pm2.keymetrics.io" # the base hostname & protocol for your site
twitter_username: jekyllrb
github_username: jekyll

sass:
sass_dir: _sass

# Build settings
markdown: redcarpet
highlighter: pygments

exclude: ['node_modules', 'docs/intro.md']

redcarpet:
extensions: ['tables', 'no_intra_emphasis', 'autolink']

permalink: /blog/:year/:month/:day/:title
paginate: 1

gems: ['jekyll-lunr-js-search']

lunr_search:
js_dir: "../scripts"
52 changes: 52 additions & 0 deletions _data/nav.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
- title: Usage
url: /docs/usage/
subnav:
- title: Quick Start
url: /docs/usage/quick-start/
- title: Process management
url: /docs/usage/process-management/
- title: Update PM2
url: /docs/usage/quick-start/#how-to-update-pm2

- title: Features
url: /docs/usage/
subnav:
- title: Cluster Mode
url: /docs/usage/cluster-mode
- title: Watch & Restart
url: /docs/usage/watch-and-restart/
- title: Monitoring
url: /docs/usage/monitoring/
- title: Log Management
url: /docs/usage/log-management/
- title: Application Declaration
url: /docs/usage/application-declaration/
- title: Deployment
url: /docs/usage/deployment/
- title: Setup Auto completion
url: /docs/usage/auto-completion/
- title: Startup Script
url: /docs/usage/startup/
- title: Development tool
url: /docs/usage/pm2-development/
- title: Specifics, ES6/AuthBind...
url: /docs/usage/specifics/
- title: PM2 API
url: /docs/usage/pm2-api/
- title: Knowledge
url: /docs/usage/knowledge/
- title: Use PM2 in Cloud Providers
url: /docs/usage/use-pm2-with-cloud-providers/
- title: Contributing
url: /docs/usage/contributing/

- title: Advanced
url: /docs/advanced/
subnav:
- title: Module System
url: /docs/advanced/pm2-module-system/
- title: Single Page Doc
url: /docs/usage/pm2-doc-single-page/
- title: Download as ZIP
url: https://github.com/Unitech/PM2/releases
blank: true
63 changes: 63 additions & 0 deletions _data/simple_nav.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
- title: Usage
url: /docs/usage/
subnav:
- title: Full documentation
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#table-of-contents
blank: true
- title: Quick Start
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#quick-start-1
blank: true
- title: Update PM2
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#how-to-update-pm2
blank: true

- title: Features
url: /docs/usage/
subnav:
- title: Cluster Mode
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#clustering-cluster_mode
blank: true
- title: Watch & Restart
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#watch--restart
blank: true
- title: CPU / Mem monitoring
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#monitoring-cpumemory
blank: true
- title: Log Management
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#logs-management
blank: true
- title: JSON declaration
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#jsjson-app-declaration
blank: true
- title: Deployment
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#deployment
blank: true
- title: Setup Auto completion
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#pm2-tab-completion
blank: true
- title: Auto memory restart
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#max-memory-restart
blank: true
- title: Startup Script
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#startup-script
blank: true
- title: Development tool
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#using-pm2-in-development
blank: true
- title: ES6 auto wrap
url: https://github.com/Unitech/PM2/blob/development/ADVANCED_README.md#run-next-generation-javascript
blank: true
- title: Programmatic API
url: https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#using-pm2-programmatically
blank: true

- title: Advanced
url: /docs/advanced/
subnav:
- title: Modules Available
url: https://github.com/Unitech/PM2/blob/development/ADVANCED_README.md#using-pm2-in-cloud-providers
blank: true
- title: Modules Available
url: https://github.com/Unitech/PM2/blob/master/doc/MODULE.md#modules-system
- title: Modules Doc
url: https://github.com/Unitech/PM2/blob/master/doc/MODULE.md#modules-system
7 changes: 7 additions & 0 deletions _data/tools.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- name: Pm2 built-ins
items:
pm2_webshell: Webshell
pm2_server_monit: Server Monit
pm2_logrotate: Logrotate
pm2_syslog: Syslog
pm2_auto_pull: Auto pull
26 changes: 26 additions & 0 deletions _data/users.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
- name: Paypal
logo: paypal.png
- name: Bloomberg
logo: bloomberg.png
- name: Intuit
logo: intuit.png
- name: Microsoft
logo: microsoft.png
- name: IBM
logo: ibm.png
- name: Mappy
logo: mappy.jpg
- name: Viadeo
logo: Viadeo.png
- name: Southwest
logo: southwest.jpg
- name: Yandex
logo: yandex.png
- name: Redbus
logo: redbus.jpg
- name: Paris
logo: paris.gif
- name: Mailtrack
logo: mailtrack.png
- name: Breather
logo: breather.png
22 changes: 22 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<div class="footer text-center">
<a title="List of contributors" href="/all-of-fame/">Contributors</a>
<h4>Development sponsored by</h4>
<a href="https://keymetrics.io" title="Keymetrics monitoring dashboard">
<img src="/images/keymetrics-v4.png" width="220px" title="Keymetrics Logo"/>
</a>

<!-- <br/><br/> -->
<!-- <a href="https://twitter.com/keymetrics_io" class="twitter-follow-button" data-show-count="false">Follow @keymetrics_io</a> -->
<!-- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> -->
</div>

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-51734350-5', 'auto');
ga('send', 'pageview');

</script>
Loading

0 comments on commit 7b7da13

Please sign in to comment.