Clarify gunicorn pythonpath instruction.
This commit is contained in:
parent
6e312bd287
commit
71325f4fb5
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ I have not made a setup.py yet. So I use a filesystem junction / symlink to make
|
||||||
|
|
||||||
1. Use the PYTHONPATH technique to make `etiquette` and the flask `backend` both importable. Symlinking into the lib is not as convenient here because the server relies on the static files and jinja templates relative to the code's location.
|
1. Use the PYTHONPATH technique to make `etiquette` and the flask `backend` both importable. Symlinking into the lib is not as convenient here because the server relies on the static files and jinja templates relative to the code's location.
|
||||||
|
|
||||||
The Pythonpath points to directories that *contain* the packages you need to import, not to the packages themselves. Therefore we point to the etiquette and frontend repositories.
|
The Pythonpath points to directories that *contain* the packages you need to import, not to the packages themselves. Therefore we point to the etiquette and etiquette_flask repositories.
|
||||||
|
|
||||||
PYTHONPATH="$PYTHONPATH:/home/Owner/Git/Etiquette:/home/Owner/Git/Etiquette/frontends/etiquette_flask
|
PYTHONPATH="$PYTHONPATH:/home/Owner/Git/Etiquette:/home/Owner/Git/Etiquette/frontends/etiquette_flask
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue