Miakinager
Miakinager is a free and open UI for PM2. Very easy to install, to configure and to use, with a pure interface. It allows you to easily manage PM2 process running on a machine, fetching logs, errors and PM2 Metrics. You can also make actions like Start, Stop, Restart, Reload, Delete a process.
Installation
pm2 install miakinager
- Go to localhost
- Login with default password :
password
- Done !
Configuration
The current configuration file is located in the .pm2\modules
directory.
%userprofile%\.pm2\modules\miakinager\node_modules\miakinager\_miakonfig.json
Currently, you can :
- Modify the password for UI access
- Switch between normal or SSL Mode (80/443 port)
- Modify SSL Certificates path
- Modify the directory where Miakinager is automatically looking for all directories where a
package.json
file is.
Developement
There are two different repositories.
First, at the root, is the server (NodeJS/Express).
Second, at client/
, is the client (Vue3/VueRouter/Webpack/Babel).
- Install dependencies for the two repositories
npm i && cd client/ && npm 1
Developement
- Run server
npm run dev
, it will only be used to access to the API - Run Vue DevServer
cd client/ && npm run serve
to have the website and hotrefresh - Go to the devserver :
http://localhost:8080/
You can also use vue ui
command.
Build
- Build client
cd client/ && npm run build
- The dist files should be located in the
/web
directory - Just run
npm start
and go to http://localhost or https://localhost if you are in SSL mode.
Problems
If you have errors in console or unwanted behavior, just reload the page. If the problem persists, please create an issue here.