Skip to content

Commit

Permalink
add missing deps and update readme to be more specific about dev serv…
Browse files Browse the repository at this point in the history
…ices and service instance
  • Loading branch information
daveminer committed Oct 2, 2024
1 parent ca7ebf1 commit deae2c8
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ db.sqlite3
.pytest_cache
.venv
LOGFILE
.vscode/*
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,17 @@ sudo apt install python3
sudo apt install python3-pip -y
```

#### (If needed) Install virtualenv

```
sudo apt-get update
sudo apt install python3.12-venv
```

##### Create the virtualenv

```
python3 -m virtualenv env
```

Expand Down
2 changes: 1 addition & 1 deletion bert_serv/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.1/ref/settings/
"""s
"""

import environ
import os
Expand Down
1 change: 1 addition & 0 deletions celeryconfig.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import urllib

celery_user = os.getenv('CELERY_USER', 'guest')
celery_password = os.getenv('CELERY_PASSWORD', 'guest')
Expand Down
1 change: 1 addition & 0 deletions sentiment/celery.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import environ
import os
from celery import Celery
from pathlib import Path
Expand Down

0 comments on commit deae2c8

Please sign in to comment.