Browse Source

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

François Poulain 1 year ago
1 changed files with 17 additions and 2 deletions
  1. +17

+ 17
- 2 View File

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

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