To set up CyberSpartie, you need to set up a .env file and connect to an existing sqlite database. Here is a step-by-step guide:
- First, clone this repository using the following command:
git clone https://github.com/CyberCWRU/CyberSpartie.git - Install the dependencies using
pip install -r requirements.txt - In the
appdirectory, create a file called.env - Add the following boilerplate to
app/.env:DISCORD_TOKEN = <The bot discord token here> FLAG_ADD_ROLE_ID = <The ID of the role authorized to create challenges and flags here> FLAG_ADD_CHANNEL_ID = <The channel ID where flags and challenges can be added here> FLAG_SOLVE_CHANNEL_ID = <The channel ID where solves for CTF challenges are announced here> GUILD_ID = <The ID of the discord server here> PATH_TO_DB= <The path to your EMPTY sqlite database here>
- Fill in the boilerplate, replacing the <bracket text> with the descriptions contained within them (remove the <brackets> too)
- Run
app/main.pyto start the bot and you're done!
This project is licensed to CyberCWRU under the MIT License. It was originally created by Kavin Muthuselvan