Go to file
Alexandre Iooss ec66f980e7
Move clef and listright to admin
2019-08-08 14:55:20 +02:00
logs Massive cleanup (1) 2019-08-02 14:57:53 +02:00
med Swap AbstractBaseUser to AbstractUser 2019-08-08 12:16:40 +02:00
media Add is_staff and is_active to User 2019-08-02 18:37:54 +02:00
search Swap AbstractBaseUser to AbstractUser 2019-08-08 12:16:40 +02:00
static New admin theme 2019-08-02 15:33:38 +02:00
templates Swap AbstractBaseUser to AbstractUser 2019-08-08 12:16:40 +02:00
theme Swap AbstractBaseUser to AbstractUser 2019-08-08 12:16:40 +02:00
users Move clef and listright to admin 2019-08-08 14:55:20 +02:00
.coveragerc New admin theme 2019-08-02 15:33:38 +02:00
.gitignore Add is_staff and is_active to User 2019-08-02 18:37:54 +02:00
.gitlab-ci.yml Test also with Python3.5 2019-08-02 14:36:06 +02:00
.pylintrc Update project base 2019-08-02 13:24:49 +02:00
COPYING Update project base 2019-08-02 13:24:49 +02:00
README.md Add badges 2019-08-02 13:24:26 +02:00
manage.py Add Debian Stretch requirements 2019-08-02 13:32:09 +02:00
requirements.txt Remove user states 2019-08-02 21:14:16 +02:00
start_uwsgi.sh Add uwsgi start script 2019-08-02 13:17:22 +02:00
tox.ini Add Debian Stretch requirements 2019-08-02 13:32:09 +02:00

README.md

Site de la Mediatek

License: GPL v3 pipeline status coverage report

Le projet Med permet la gestion de la base de donnée de la médiathèque de l'ENS Paris-Saclay. Elle permet de gérer les medias, bd, jeux, emprunts, ainsi que les adhérents de la med.

Licence

Ce projet est sous la licence GNU public license v2.0.

Développement

Après avoir installé un environnement Django,

./manage.py migrate
./manage.py collectstatic
./manage.py runserver

Configuration d'une base MySQL

Sur le serveur mysql ou postgresl, il est nécessaire de créer une base de donnée med, ainsi qu'un user med et un mot de passe associé.

Voici les étapes à éxecuter pour mysql :

CREATE DATABASE club-med;
CREATE USER 'club-med'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON club-med.* TO 'club-med'@'localhost';
FLUSH PRIVILEGES;