Stay updated with the latest UFC fight results and scorecards directly in your Discord server!
FightLive is a streamlined tool that fetches live updates from UFCNews and delivers them in an engaging format using Discord webhooks.

-
Clone the Repository
git clone https://github.com/yourusername/ufc-fight-tracker.git cd ufc-fight-tracker
-
Set Up Environment Variables
Create a
.env
file in the root directory and add the following:WEBHOOK_URL=your_discord_webhook_url AUTH_TOKEN=your_twitter_auth_token X_ACCOUNT=official_ufc_account POSTGRES_USER=your_db_user POSTGRES_PASSWORD=your_db_password POSTGRES_DB=ufc_fight_tracker DATABASE_URL=postgresql://your_db_user:your_db_password@db:5432/ufc_fight_tracker
-
Install dependencies
pip3 install -r requirements.txt
-
Setup migration files
alembic upgrade head
-
Start Docker Services
docker-compose up -d
-
Run Program
python3 run.py
-
Run pytest
pytest tests/FILENAME.py
Feel free to contribute
- Fork the Repository
- Create a Feature Branch
git checkout -b feature/YourFeature
- Commit Your Changes
git commit -m "Add some feature"
- Push to the Branch
git push origin feature/YourFeature
- Open a Pull Request