node package manager

node-project-manager

Node project manager

Description

are you running your project use forever?

now, say bye-bye to it.

you can have a better way to run your project.

just open your browser and input a address, and then, you can use your mouse to manage them.

How to use

first, you should install this commond use npm

sudo npm install -g node-project-manager

then, run this commond use root account

sudo node-project-manager

finally, open you browser an open this address

http://IP:7380

ok!

How to set my account

open your account configuration file at

/etc/node-project-manager/passwd.json

edit and save, then restart node-project-manager use

sudo node-project-manager

ok!

Project configuration file format

typescript like:

Array<{
    name: string,
    cwd: string,
    file: string,
    log?: string
}>

example

[
    {
        "name": "Project1",
        "cwd":"/home/Joe/node-projects/project1",
        "file":"server/index.js"
    },
    {
        "name": "Project2",
        "cwd":"/home/Jane/developer/nodejs/express-test",
        "file":"index.js",
        "log":"/home/Jane/developer/nodejs/express-test/log.txt"
    }
]