Github robber is an application that collects profiles on Github, ranks and makes them available to recruiters in the form of subscription.
- Navigate to
backend
folder. - Type in terminal
docker-compose up
. - Open
localhost:5000
with your browser to see the result.
-
Navigate to
backend
folder. -
Type in terminal
pip install -r requirements.txt
-
Right click on the
gh_robber.py
file and then clickrun
or run from the terminalOn Windows:
set FLASK_APP=gh_robber.py
On Linux:
export FLASK_APP=gh_robber.py
-
Type in terminal
flask db init
-
Type in terminal
flask upgrade
if the data is already in the database -
Type in terminal
flask run
- Navigate to backend/app folder
flask db-manage add-data
- Navigate to backend/app folder
flask db-manage remove-data
To execute the tests located in the tests/ folder, navigate to the backend folder and run the command:
python -m pytest tests/
Download files and instal dependencies :
yarn install
Then, run the development server:
yarn dev
Open http://127.0.0.1:5000/ with your browser to see the result.