Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.24 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.24 KB

nodervisor

Supervisor manager in node.js

Requirements

  • Node.js
  • Supervisord
  • NPM

Installation

  1. Clone the git repository into a folder and run:

    npm install

  2. Run the database scripts provided in the sql folder on whichever MySql server you want to use.

  3. Update the config.js file with your database connection details and database name.

How to use it

Run the app using:

node app
  1. After the app has started, navigate to the machine in a browser on port 3000. For instance: http://localhost:3000

  2. Log in using the default credentials of:

    • Email: admin@nodervisor
    • Password: admin
</ul>
  1. Navigate to the users page using the top menu. Change the admin credentials or add a new user and remove them.

  2. Navigate to the hosts page using the top menu. Then add a host running supervisord using the form. Your supervisord config on each host should be set up to allow the xmlrpc interface over a inet port.

At this point, navigating back to the home page should show you a list of your hosts, and the processes running on them.

####Todo

  • Allow user to reset own password
  • Log Start/Stop/Restart/Deletes of hosts with relevant user