/twitter-bots

A university educational project

Primary LanguagePython

twitter-bots

A university educational project

This project is divided in two sections: Selenium Team and Tweepy Team. You can check the documentation of each library here: Selenium and Tweepy. The work of any team can be found in the directory with the same name. If you want to collaborate in the development please follow this steps according to the situation.

Creating a Twitter API Key (for the Tweepy Team)

  1. Check out this tutorial

Setting up the project

  1. Create a virtual environment to install the dependencies python -m venv twitter_bots
  2. Activate the environment by going to cd twitter_bots/Scripts and running ./activate
  3. Download the repository. You do it by clicking the green tab or by running git clone https://github.com/NicoSerranoP/twitter-bots.git in the terminal
  4. Go to the team directory folder by running cd selenium-team or cd tweepy-team and run pip install -r requirements.txt
  5. Run the script python app.py

Contributing to the project

  1. Make sure to modify the app.py file and properly comment your code
  2. If you installed any dependencies (library, module, etc) run: pip freeze > requirements.txt
  3. Commit your changes by uploading them to the repository or by running the git add -A , git commit -m "message" and git push commands