doc(piaf): précise l'installation des dépendances; testé sur une stretch neuve
Parent
b72c835077
révision
c7b4b210ab
19
README.md
19
README.md
|
@ -11,16 +11,31 @@ On a Debian-based host - running at least Debian Stretch, you will need the
|
|||
following packages:
|
||||
- python3
|
||||
- virtualenv
|
||||
- git
|
||||
- python3-crypto
|
||||
- python3-psycopg2 (optional, in case of a PostgreSQL database)
|
||||
|
||||
Note: if you're serving the application with uWSGI and NGINX on a sub location, ensure
|
||||
that you've added `route-run = fixpathinfo:` to your uWSGI configuration (from
|
||||
[v2.0.11](https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.11.html#fixpathinfo-routing-action)).
|
||||
|
||||
### Using `Makefile`
|
||||
|
||||
It assumes that you have `make` installed on your computer. If not you can
|
||||
install it on Debian Stretch via the package `make`.
|
||||
|
||||
To prepare a virtualenv and install deps:
|
||||
|
||||
$ make init
|
||||
|
||||
That's it! You should now be able to start the Django development server to
|
||||
check that everything is working fine with:
|
||||
|
||||
$ make serve
|
||||
|
||||
### Step by step
|
||||
|
||||
In waiting for a complete `Makefile`, you will have to follow those steps to
|
||||
install the application.
|
||||
Note: you don't need this if you used `Makefile`.
|
||||
|
||||
It assumes that you have downloaded the last release of PIAF,
|
||||
extracted it and that you moved to that folder.
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket