-
Notifications
You must be signed in to change notification settings - Fork 18
6. Testing And Deployment
Aditya Sharma edited this page May 7, 2024
·
3 revisions
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 CLIandNgrokare a must! you can check the Prerequisites Page for Installation.
Moving up...
We will use wrangler dev command to spin up the local dev server on 127.0.0.1:8787