Browse Source

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

master
François Poulain 1 year ago
parent
commit
c7b4b210ab
1 changed files with 17 additions and 2 deletions
  1. +17
    -2
      README.md

+ 17
- 2
README.md 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
[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.

Loading…
Cancel
Save