File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ ENV PATH="/opt/venv/bin:$PATH"
69
69
COPY backend/requirements.txt .
70
70
RUN pip3 install --no-cache-dir -r requirements.txt && find /opt/venv \( -type d -a -name test -o -name tests \) -o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) -exec rm -rf '{}' \+
71
71
72
- RUN python -c "import nltk; nltk.download('averaged_perceptron_tagger ', download_dir='/opt/venv/nltk_data')"
72
+ RUN python -c "import nltk; nltk.download('averaged_perceptron_tagger_eng ', download_dir='/opt/venv/nltk_data')"
73
73
74
74
# ------------
75
75
# RUNNER
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ ENV PATH="/opt/venv/bin:$PATH"
16
16
COPY requirements.txt .
17
17
RUN pip3 install --no-cache-dir -r requirements.txt && find /opt/venv \( -type d -a -name test -o -name tests \) -o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) -exec rm -rf '{}' \+
18
18
19
- RUN python -c "import nltk; nltk.download('averaged_perceptron_tagger ', download_dir='/opt/venv/nltk_data')"
19
+ RUN python -c "import nltk; nltk.download('averaged_perceptron_tagger_eng ', download_dir='/opt/venv/nltk_data')"
20
20
21
21
# ------------
22
22
# RUNNER
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Take a look at the general contribution rules [here](../CONTRIBUTING.md).
10
10
- Create a python environment ` python3 -m venv venv `
11
11
- Activate your python environment ` source venv/bin/activate ` (environment can be deactivated with ` deactivate ` )
12
12
- Install dependencies ` pip3 install -r requirements.txt `
13
- - Initialize/Upgrade requirements for the recipe scraper ` python -c "import nltk; nltk.download('averaged_perceptron_tagger ', download_dir='./venv/nltk_data')" `
13
+ - Initialize/Upgrade requirements for the recipe scraper ` python -c "import nltk; nltk.download('averaged_perceptron_tagger_eng ', download_dir='./venv/nltk_data')" `
14
14
- Initialize/Upgrade the SQLite database with ` flask db upgrade `
15
15
- Run debug server with ` python3 wsgi.py ` or without debugging ` flask run `
16
16
- The backend should be reachable at ` localhost:5000 `
You can’t perform that action at this time.
0 commit comments