#How do you normaly setup for development?

1 messages · Page 1 of 1 (latest)

copper crane
#

I am working on a bot that will be for 1 Discord server. I have the production bot running on a server and installed on the production server. I also have a dev branch running on a server and installed on a dev discord server for testing.
The issue is that I need to deploy to dev for testing. I have run the bot locally, connected to a server. I guess I need to run it as a third bot?

Goal, have a local dev environment for testing.

snow granite
copper crane
snow granite
#

3 but yeah

#

I have test bot, test bot 2 and test bot 3

copper crane
#

Each of these are just whatever bot you are working on at the time and already installed on a discord server.

copper crane
#

Any other hints or suggestions?

snow granite
#

Use environment variables, virtual environments, git branches

#

i think you already do the latter

copper crane
#

ya

snow granite
#

oh and a package manager like uv or pdm if you want

copper crane
#

I am using UV

snow granite
#

neat

copper crane
snow granite
#

I use coolify because it's free and self hosted

#

and self hosted is nice

zealous glen
#

Just to feel important and feel seen: I also have multiple keys. One is a direct dev of my main bot, and I have another that just helps me confirm specific features or workflows (generally around interactions)

copper crane