https://github.com/rmpr/mutuelle-enseignants
Projet de gestion de la mutuelle des enseignants
https://github.com/rmpr/mutuelle-enseignants
Last synced: 2 months ago
JSON representation
Projet de gestion de la mutuelle des enseignants
- Host: GitHub
- URL: https://github.com/rmpr/mutuelle-enseignants
- Owner: RMPR
- Created: 2018-12-07T11:02:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-12T08:58:29.000Z (over 7 years ago)
- Last Synced: 2025-03-12T13:24:34.788Z (over 1 year ago)
- Language: CSS
- Size: 19.4 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Development instructions
## Installation
```bash
$ 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
'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
```bash
$ php yii migrate/up --migrationPath=@vendor/dektrium/yii2-user/migrations
```
### Add Yii2 RBAC migrations
```bash
$ 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