Go to file
2017-09-13 22:27:30 +02:00
design Update coding style and encodage with php-cs-format 2017-08-23 01:05:27 +01:00
images Add files via upload 2017-08-16 16:33:29 +02:00
include Add some comments 2017-09-13 19:31:09 +02:00
javascript Add files via upload 2017-08-16 16:33:29 +02:00
lib Fix buf in the cache, and fix commerce generator 2017-09-13 19:18:12 +02:00
log Fix buf in the cache, and fix commerce generator 2017-09-13 19:18:12 +02:00
pages Update encoding to utf-8 2017-08-23 01:16:42 +01:00
sql Move common sql parts 2017-09-13 19:21:13 +02:00
xml Add files via upload 2017-08-16 16:48:01 +02:00
.gitignore Improve coding style of lieudit.php 2017-08-17 18:07:52 +01:00
index.php Fix buf in the cache, and fix commerce generator 2017-09-13 19:18:12 +02:00
README.md Update README 2017-09-13 22:27:30 +02:00

generation-jdr

Site de génération JDR

Installation

Créer une base de donnée, par exemple:

echo "create database generation_jdr" | mysql --user root --host 127.0.0.1 -p

Installer la base de données:

mysql --user root --host 127.0.0.1 -p generation_jdr < sql/db.sql && \
  mysql --user root --host 127.0.0.1 -p generation_jdr < sql/common.sql && \
  mysql --user root --host 127.0.0.1 -p generation_jdr < sql/prenom.sql && \
  mysql --user root --host 127.0.0.1 -p generation_jdr < sql/nom.sql

Installer les identifiants de votre db dans le site (en copiant le fichier d'exemple et en indiquant les infos sur la base de données dans les globales):

cp include/database_ids.php.sample include/database_ids.php
edit include/database_ids.php