Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Server Setup steps #48

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading