Skip to content
Snippets Groups Projects
Commit 8a27e821 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Docs revision based on naive user testing

parent 759dfa33
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,6 @@ TODO: Decide on whether to use pip freeze or manage requirements.txt manually. R
```sh
(venv)$ pip install "fastapi[all]" (and others)
(venv)$ pip freeze > requirements.txt
```
NB! `fastapi[all]` includes a lot of things, in order to get started quickly. Should consider importing only the relevant packages later on.
......@@ -58,5 +57,22 @@ pip install -r models.txt
### Run application locally
```sh
(venv)$ uvicorn src.main:app --reload
(venv)$ uvicorn app.main:app --reload
```
## Troubleshooting for Mac users
2023-02-14: When running the app locally on a Mac, this error occured when calling the /models endpoint:
```
unittest.case.SkipTest: No module named '_lzma'
```
Instructions to fix this are as follows :
```
$ brew install xz
$ pyenv uninstall 3.10.6
$ pyenv install 3.10.6
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment