Skip to content

6. Testing And Deployment

Aditya Sharma edited this page May 7, 2024 · 3 revisions

🧪 Testing the Bot (locally):

Now that we have made index.js and start_cmd.js, and also set up wrangler.toml with correct credentials, it's time to test the bot locally for any error or bugs! We'll need wrangler CLI and ngrok (https://ngrok.io) in this step, so make sure you have everything installed!

NOTE: Wrangler CLI and Ngrok are a must! you can check the Prerequisites Page for Installation.

Moving up...

Spinning up the local development server:

We will use wrangler dev command to spin up the local dev server on 127.0.0.1:8787

Clone this wiki locally