Files
PteroStats/guide/installation/manual.md
2024-11-04 06:20:46 +07:00

34 lines
1.2 KiB
Markdown

## Manual
1. Download this repository:
- Manually: [Download this repository](https://github.com/HirziDevs/PteroStats/archive/refs/heads/main.zip) and extract it.
- Using GIT: Run `git clone https://github.com/HirziDevs/PteroStats.git` in the command line.
2. Install required dependencies and start the app/bot.
- Using PM2 ([Why use PM2?](https://discordjs.guide/improving-dev-environment/pm2.html))
1. Run `npm install` in the root directory of the app/bot files.
2. Install PM2 using `npm install -g pm2` command.
2. Run `pm2 start index.js -n PteroStats` to start the app/bot.
- Using [nodejs-generic](https://github.com/pelican-eggs/generic/tree/main/nodejs) egg
1. Just start the server to start the app/bot.
3. Answer the prompted questions in the console to set up the app/bot.
<img alt="Setup" src="https://usercontent.catto.pictures/hirzi/b8645828-591d-4d52-b6d8-51f8df60440c.png" width="300"/>
- [How to get Panel API key](https://github.com/HirziDevs/PteroStats/blob/main/guide/panel-api-key.md)
- [How to get Channel ID](https://github.com/HirziDevs/PteroStats/blob/main/guide/channel-id.md)
## Links
### Support Server
- [Discord](https://discord.znproject.my.id)