Add notes on dev debugging

This commit is contained in:
Skylar Grant 2026-10-01 21:04:48 -04:00
parent dafe5c3419
commit 76d6df7e26

View File

@ -89,3 +89,14 @@ ownerId=<your Discord user ID>
statusChannelId=<Discord channel ID of channel used for status messages>
clientId=<Discord user ID of your bot>
```
## Running NodBot-dev Locally for Debugging
1. Ensure that the `nodbot-dev` Docker container is stopped on the VPS.
2. Create an SSH tunnel to the MariaDB instance on the VPS:
`ssh -L 3307:localhost:3307 vps`
3. Install NodeJS LTS (18 right now)
4. Install packages:
`npm i`
5. Create a `.env` file and populate it
6. Launch and debug!