Mise à jour INSTALL

This commit is contained in:
Claude Paroz 2025-11-27 08:39:23 +01:00
parent 120869354c
commit 4a8150af7c

View file

@ -5,36 +5,24 @@ Installing epcstages
Requirements
============
* Python >= 3.4
http://www.python.org/download/
* Python >= 3.10
* A database with UTF-8 encoding (PostgreSQL or MySQL-InnoDB) and its
approriate Python driver (postgresql-psycopg2 or mysqldb)
approriate Python driver (psycopg or mysqlclient)
* Git
Downloading code
================
The code for epcstages is available on GitHub:
https://github.com/epcoullery/epcstages.git
The code for epcstages is available from this page:
https://git.2xlibre.net/claudep/epcstages
Python dependencies
===================
Python dependencies are listed in the requirements.txt file. The recommended way
to install Python dependencies is by using pip [1]. Pip itself can be installed
using Setuptools/EasyInstall [2].
[1] http://www.pip-installer.org
[2] http://pypi.python.org/pypi/setuptools
Once pip is installed, it's only a matter of running the following command
from the main epcstages directory:
Python dependencies are listed in the requirements.txt file.
$ pip install -r requirements.txt
(Note that it is possible to install packages in a non-system-wide location by
using virtualenv (http://www.virtualenv.org/)).
App Configuration
=================
@ -49,7 +37,7 @@ SECRET_KEY = 'zk!^92901p458c8lo0(fox-&k7jj(aple76_k%eva7b1)xjo8-'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'ENGINE': 'django.db.backends.postgresql',
# or 'ENGINE': 'django.db.backends.mysql',
'NAME' : 'epcstages',
'USER' : 'db_user',