doc(piaf): précise l'installation des dépendances; testé sur une stretch neuve

master
François Poulain 2018-08-08 16:58:16 +02:00 commité par François Poulain
Parent b72c835077
révision c7b4b210ab
1 fichiers modifiés avec 17 ajouts et 2 suppressions

Voir le fichier

@ -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.