-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |