mirror of
https://github.com/Kizuren/statusPage.git
synced 2025-12-21 21:16:09 +01:00
Updated README.md
This commit is contained in:
parent
ffd56e99ee
commit
4f3c356bab
1 changed files with 21 additions and 7 deletions
28
README.md
28
README.md
|
|
@ -63,17 +63,31 @@ export default {
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
Clone the repo:
|
Clone the repo:
|
||||||
`git clone https://github.com/ybouane/aPulse.git`
|
```shell
|
||||||
|
git clone https://github.com/ybouane/aPulse.git
|
||||||
|
```
|
||||||
|
|
||||||
Either run the watcher.js script directly (you need to keep it running in the background)
|
Either run the watcher.js script directly (you need to keep it running in the background)
|
||||||
`cd aPulse`
|
```shell
|
||||||
`node watcher.js`
|
cd aPulse
|
||||||
|
```
|
||||||
|
```shell
|
||||||
|
node watcher.js
|
||||||
|
```
|
||||||
|
|
||||||
Or use a tool like PM2 (prefered method):
|
Or use a tool like PM2 (prefered method):
|
||||||
`npm install pm2 -g`
|
```shell
|
||||||
|
npm install pm2 -g
|
||||||
|
```
|
||||||
Start watcher.json
|
Start watcher.json
|
||||||
`pm2 start pm2.json`
|
```shell
|
||||||
|
pm2 start pm2.json
|
||||||
|
```
|
||||||
Configure pm2 to automatically start during startup
|
Configure pm2 to automatically start during startup
|
||||||
`pm2 startup`
|
```shell
|
||||||
|
pm2 startup
|
||||||
|
```
|
||||||
Save current pm2 processes list
|
Save current pm2 processes list
|
||||||
`pm2 save`
|
```shell
|
||||||
|
pm2 save
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue