🇧🇷 Documentação | 🇺🇸 Documentation
Once you have installed python3 and Git, cloned our repository and is using a coding text editor (Atom, VSCode, Sublime ou Pycharm), follow these instructions.
Create a virtual environment
python3 -m venv venv
source venv/bin/activate
Now you have to install all packages related to the project
For those using Linux or MacOS
make install
For Windows
pip install -r requirements.txt
Once you have installed everything, install ChromeDriver to update and configure the token. You need to download it and add it to your PATH. For Linux and MacOS (Mac might not be working anymore) users use:
make chromedriver
For Windows, follow Splinter instructions: (Instructions to download ChromeDriver). Once ChromeDriver installed sucessfully use
make run
and follow the instructions to use the program. The file entidades.csv
define
which pages we are scrapping, so update it as you want.
For using the tests we wrote to check code functionalities
make
WARNING: It'll print a bunch of stuff. As long as it returns an exit code 1, it's all fine.
To check your code indentation and PEP8 related:
make style
Important to use it if you want to send us a Pull Request 😄
Universidade de Brasília
Resocie : Repensando as Relações entre Sociedade e Estado