Hello, This is me, Sairam, Developer of OpenCityBot.
I am currently moving the json files as the JSON takes space.
So, it is better for me to use PostgreSQL for my bot.
- If you want to contribute for this repository, you can contribute any feature you like, but it should follow PEP-8.
Here's how you need to run the bot file. I recommend using PyCharm.
You need a PostgreSQL database.
If you use PyCharm:
- Open the folder as Project.
- Rename
.env.example
to.env
file and replace the TOKEN, DB_URL and more. - Go to terminal
- Run this code
pipenv install
(I assume that you have installed pipenv elsepip install pipenv
) - Run this code
python table_creator
- Run the
start.sh
For other IDEs:
- Open the folder as Project.
- Rename
.env.example
to.env
file and replace the TOKEN, DB_URL and more. - Go to terminal
- Run this code
pipenv install
(I assume that you have installed pipenv elsepip install pipenv
) - Run this code
python table_creator
- Run the
start.sh
For terminal:
- Rename
.env.example
to.env
file and replace the TOKEN, DB_URL and more. - Run this code
pipenv install
(I assume that you have installed pipenv elsepip install pipenv
) - Run this code
python table_creator
- Run the
start.sh
That's it
If you'd like to have some templates and run configs. Feel free to DM me in Discord.
Sairam#1724
Thank you.