Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ coverage: ## Run tests with coverage
python -m coverage report -m

deps: ## Install dependencies
pip install --upgrade pip
pip install -r backend/requirements.txt
pip install -r frontend/requirements.txt
poetry install --only backend
poetry install --only frontend

testdeps:
pip install black coverage flake8 pytest
poetry install --only dev

updatedeps:
poetry update

format:
python -m black backend/src frontend/app.py tests
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,14 @@ git clone https://github.com/fissoreg/papers-search/
cd papers-search
```

For both the folders `frontend` and `backend`, run the following commands

Install [poetry](https://python-poetry.org/), then for both the folders `frontend` and `backend`, run the following commands
```bash
cd folder_to_go_into/ # `folder_to_go_into` is either `frontend` or `backend`

python3 -m venv venv
source venv/bin/activate

pip install --upgrade pip
pip install -r requirements.txt
poetry install --only folder_to_go_into
```

## Indexing
Expand Down
Binary file removed backend/requirements.txt
Binary file not shown.
47 changes: 0 additions & 47 deletions frontend/requirements.txt

This file was deleted.

Loading