- Docker
- Github desktop
- Git windows, Git unix will also work.
- An integrated development environment (IDE).
- We recommend VSCode, but any IDE will work.
- Open a terminal
cmd - Navigate
cdto where you want to save our code. - The command below will Create a folder
bot-detectorwith two sub foldersremote&local& download the remote repositories in theremotefolder.- To add the repositories in github desktop, select
Fileon the top left than clickAdd local repository, and navigate to the cloned repositories.
- To add the repositories in github desktop, select
Windows
mkdir bot-detector\remote bot-detector\local && cd bot-detector\remote
git clone https://github.com/Bot-detector/bot-detector-mysql.git
Linux
mkdir -p bot-detector/{remote,local}
git clone https://github.com/Bot-detector/bot-detector-mysql.git
- Now you can start the project. Make sure docker desktop is running!
Creating the database. (you can skip this step if the database is already created) (this might take a while)
cd bot-detector-mysql
docker-compose up --build
In the terminal you will now see /usr/sbin/mysqld: ready for connections.
The database has been created
You can now query the database via attaching a shell to the docker instance or running mysqlworkbench
To contribute you must fork a repository, if you followed the setup step, fork the repository in the bot-detector\local folder.
