Skip to content

Commit

Permalink
chore: new ascii logo + refactor pm2 plus command
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Jul 10, 2018
1 parent cdc4a76 commit 8692a1d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 21 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ $ pm2 update
<br/><br/>
</div>

```bash
$ pm2 plus
```

Once you scale you need to make sure that your application is running properly, without bugs, performance issues and without downtimes.

That's why we created PM2 Plus. It's a set of advanced features for both hardening the PM2 Runtime and monitoring applications in production.
Expand All @@ -227,15 +231,7 @@ With PM2 Plus you get:

And much more like realtime logs, custom metrics, remote actions...

To start using PM2 Plus via CLI:

```bash
$ pm2 register
```

Or go to the application and create an account:

[To discover PM2 Plus Register Here](https://app.pm2.io/)
You can also create account via the app: [here](https://app.pm2.io/)

### PM2 Plus Features

Expand Down
2 changes: 1 addition & 1 deletion bin/pm2
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ commander.command('report')
});

//
// Keymetrics CLI integratio
// PM2 I/O
//
commander.command('link [secret] [public] [name]')
.alias('interact')
Expand Down
2 changes: 1 addition & 1 deletion lib/API/PM2/PM2IO.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ module.exports = function(CLI) {

CLI.prototype.loginToKM = function() {
var promptly = require('promptly')
printMotd();

return CLIAuthStrategy._retrieveTokens((err, tokens) => {
if (err) {
Expand Down Expand Up @@ -101,6 +100,7 @@ module.exports = function(CLI) {

CLI.prototype.registerToKM = function() {
var promptly = require('promptly');
printMotd();

promptly.confirm(chalk.bold('Do you have a pm2.io account? (y/n)'), (err, answer) => {
if (answer == true) {
Expand Down
23 changes: 13 additions & 10 deletions lib/API/PM2/motd
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@

88888888ba 88b d88 ad888888b, 88 ,ad8888ba,
88 "8b 888b d888 d8" "88 88 d8"' `"8b
88 ,8P 88`8b d8'88 a8P 88 d8' `8b
88aaaaaa8P' 88 `8b d8' 88 ,d8P" 88 88 88
88""""""' 88 `8b d8' 88 a8P" 88 88 88
88 88 `8b d8' 88 a8P' 88 Y8, ,8P
88 88 `888' 88 d8" 888 88 Y8a. .a8P
88 88 `8' 88 88888888888 888 88 `"Y8888Y"'
██████╗ ███╗ ███╗██████╗ ██╗ ██╗ ██████╗
██╔══██╗████╗ ████║╚════██╗ ██║ ██╔╝██╔═══██╗
██████╔╝██╔████╔██║ █████╔╝ ██║ ██╔╝ ██║ ██║
██╔═══╝ ██║╚██╔╝██║██╔═══╝ ██║ ██╔╝ ██║ ██║
██║ ██║ ╚═╝ ██║███████╗ ██║██╔╝ ╚██████╔╝
╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═╝╚═╝ ╚═════╝
https://pm2.io/

https://pm2.io/
Harden your Node.js Production Environment

Add Control and Monitoring to Your Node.js Apps
- Real-time Monitoring Web Interface
- Pro Active Alerting System
- Production Profiling for Memory and CPU
- PM2 Runtime High Availability Fallback

0 comments on commit 8692a1d

Please sign in to comment.