miakinager
Version:
Manage PM2 processes
59 lines (42 loc) • 2.04 kB
Markdown
# 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
```
1. Go to [localhost](http://localhost)
2. Login with default password : `password`
3. 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).
1. Install dependencies for the two repositories `npm i && cd client/ && npm 1`
### Developement
1. Run server `npm run dev`, it will only be used to access to the API
2. Run Vue DevServer `cd client/ && npm run serve` to have the website and hotrefresh
3. Go to the devserver : `http://localhost:8080/`
You can also use `vue ui` command.
### Build
1. Build client `cd client/ && npm run build`
2. The dist files should be located in the `/web` directory
3. Just run `npm start` and go to [http://localhost](localhost)
or [https://localhost](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](https://github.com/Mathieu2301/Miakinager/issues).