Skip to content

OpenCityBot-MovingJSON-PostgreSQL is a project managed by two persons namely Sairam and MaestroGT.

License

Notifications You must be signed in to change notification settings

sairam4123/OpenCityBot-MovingJSON-PostGreSQL

Repository files navigation

OpenCityBot-MovingJSON-PostGreSQL


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:

  1. Open the folder as Project.
  2. Rename .env.example to .env file and replace the TOKEN, DB_URL and more.
  3. Go to terminal
  4. Run this code pipenv install (I assume that you have installed pipenv else pip install pipenv)
  5. Run this code python table_creator
  6. Run the start.sh

For other IDEs:

  1. Open the folder as Project.
  2. Rename .env.example to .env file and replace the TOKEN, DB_URL and more.
  3. Go to terminal
  4. Run this code pipenv install (I assume that you have installed pipenv else pip install pipenv)
  5. Run this code python table_creator
  6. Run the start.sh

For terminal:

  1. Rename .env.example to .env file and replace the TOKEN, DB_URL and more.
  2. Run this code pipenv install (I assume that you have installed pipenv else pip install pipenv)
  3. Run this code python table_creator
  4. 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.

About

OpenCityBot-MovingJSON-PostgreSQL is a project managed by two persons namely Sairam and MaestroGT.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published