Skip to content

Commit

Permalink
update: .evn.example (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcosss authored Jul 18, 2024
1 parent cb75341 commit aa5efe5
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# MySQL Database connection details
DB_HOST = 'mysql server host name'
DB_USER = 'mysql username'
DB_PASSWORD = 'mysql password'
DB_NAME = 'name of the mysql database'
DB_HOST = 'postgreSQL server host name'
DB_USER = 'postgreSQL username'
DB_PASSWORD = 'postgreSQL password'
DB_NAME = 'name of the postgreSQL database'

# Token for finshots-scout bot
DISCORD_TOKEN = 'The discord bot application token comes here'

# to setup the database: configure host, user, password and database name here and then run
# python database_setup.py

# to start the bot, run
# python bot.py

# database_updater.py is a script that updates the database with the latest news
# this needs to be run periodically using a cron job or a scheduler

0 comments on commit aa5efe5

Please sign in to comment.