docs: improve readme and guide

This commit is contained in:
Hirzi
2024-11-04 06:20:46 +07:00
parent 7d3493ff0c
commit 9c439e0a62
10 changed files with 156 additions and 32 deletions

View File

@@ -1,15 +1,13 @@
## Changing Env Configuration
> [!TIP]
> You can change other configuration at the `config.yml` file.
1. Delete `.setup-complete` file in the root directory of the app/bot files.
2. Run `node index.js` and answer the prompted questions to set up the app/bot.
2. Restart the server and answer the prompted questions 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)
3. Run `node index.js` if you want to start the app/bot again, and you're done!
<img alt="Console Logging" src="https://usercontent.catto.pictures/hirzi/8ce3aac6-5c46-4626-bd14-af994b602f8e.png" width="300"/>
- [How to get Channel ID](https://github.com/HirziDevs/PteroStats/blob/main/guide/channel-id.md)