Skip to content

Commit

Permalink
Updated README (#31)
Browse files Browse the repository at this point in the history
* Added general description and Development Using Virtual Environment section

* update readme with Docker section

---------

Co-authored-by: HazalCiplak <[email protected]>
  • Loading branch information
de-code and HazalCiplak authored Jan 9, 2025
1 parent 5debab6 commit 45ef3d3
Showing 1 changed file with 67 additions and 1 deletion.
68 changes: 67 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,67 @@
# SpaCy Keyword Extraction
# SpaCy Keyword Extraction API

Provides an API to extract keywords from a text. It using [SpaCy](https://spacy.io/) to find noun chunks and some additional post-processing.

## Development Using Virtual Environment

### Pre-requisites (Virtual Environment)

* Python, ideally using `pyenv` (see `.python-version`)

### First Setup (Virtual Environment)

```bash
make dev-venv
```

### Update Dependencies (Virtual Environment)

```bash
make dev-install
```

### Run Tests (Virtual Environment)

```bash
make dev-test
```


### Start Server (Virtual Environment)

```bash
make dev-start
```

The server will be available on port 8000.

You can access the API Docs via http://localhost:8000/docs


## Development Using Docker

### Pre-requisites (Docker)

* Docker

### Run Tests (Docker)

```bash
make build-dev test
```

### Start Server (Docker)

```bash
make build start logs
```

The server will be available on port 8000.

You can access the API Docs via http://localhost:8000/docs

### Stop Server (Docker)

```bash
make stop
```

0 comments on commit 45ef3d3

Please sign in to comment.