Skip to content

RMPR/mutuelle-enseignants

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development instructions

Installation

$ git clone https://github.com/RMPR/mutuelle-enseignants.git

$ cd mutuelle-soft

$ composer install 

Configuration

Database file

After executing the sql script located in /Model and the script fake-data.bat to generate random data Create the file db.php in the config directory with the following content

<?php
return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=mutuelle',
    'username' => 'root',
    'password' => your_root_password,
    'charset' => 'utf8',
    // Schema cache options (for production environment)
    //'enableSchemaCache' => true,
    //'schemaCacheDuration' => 60,
    //'schemaCache' => 'cache',
];

Update yii2-user database schema

$ php yii migrate/up --migrationPath=@vendor/dektrium/yii2-user/migrations

Add Yii2 RBAC migrations

$ php yii migrate/up --migrationPath=@yii/rbac/migrations

Update database file

​ execute the script Model/updateMutuelle.sql

You may need to do composer update sometimes

About

Projet de gestion de la mutuelle des enseignants

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published