Merge branch 'master' of ssh://rhea.netlor.fr:2222/monarc/MonarcAppFO
commit
54d3e77de6
15
README.md
15
README.md
|
@ -22,8 +22,8 @@ Installation
|
||||||
|
|
||||||
PHP & MySQL
|
PHP & MySQL
|
||||||
-----------
|
-----------
|
||||||
Install PHP (version 7.0 recommended) with Apache (or Nginx) with extensions : xml, mbstring, mysql, zip, unzip, mcrypt, intl, imagick (extension php)
|
Install PHP (version 7.0 recommended) with extensions : xml, mbstring, mysql, zip, unzip, mcrypt, intl, imagick (extension php)
|
||||||
For Apache add mods : rewrite, ssl (a2enmod)
|
Install Apache (or Nginx) and enable mods : rewrite, ssl (a2enmod)
|
||||||
|
|
||||||
Install MySQL (version 5.7 recommended) or MariaDb equivalent
|
Install MySQL (version 5.7 recommended) or MariaDb equivalent
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ Alternately, clone the repository and manually invoke `composer` using the shipp
|
||||||
`composer.phar`:
|
`composer.phar`:
|
||||||
|
|
||||||
cd my/project/dir
|
cd my/project/dir
|
||||||
git clone ssh://github.com/CASES-LU/MonarcAppFO.git ./monarc
|
git clone https://github.com/CASES-LU/MonarcAppFO.git ./monarc
|
||||||
cd monarc
|
cd monarc
|
||||||
php composer.phar self-update
|
php composer.phar self-update
|
||||||
php composer.phar install -o (modifier le package.json deux errreurs passer en dev-beta le core et il y a un / en trop pour zm-core)
|
php composer.phar install -o (modifier le package.json deux errreurs passer en dev-beta le core et il y a un / en trop pour zm-core)
|
||||||
|
@ -54,11 +54,12 @@ Create 2 databases:
|
||||||
|
|
||||||
Change Sql Mode in my.cnf:
|
Change Sql Mode in my.cnf:
|
||||||
|
|
||||||
|
[mysqld]
|
||||||
sql-mode = MYSQL40
|
sql-mode = MYSQL40
|
||||||
|
|
||||||
There is 2 databases:
|
There is 2 databases:
|
||||||
* monarc_common contain models and data create by smile.
|
* monarc_common contain models and data create by CASES.
|
||||||
* monarc_cli contain all client risks analyses. Each analysis is based on Smile model of monarc_common
|
* monarc_cli contain all client risks analyses. Each analysis is based on CASES model of monarc_common
|
||||||
|
|
||||||
Symbolics links
|
Symbolics links
|
||||||
---------------
|
---------------
|
||||||
|
@ -168,7 +169,7 @@ Configuration
|
||||||
|
|
||||||
Create file configuration
|
Create file configuration
|
||||||
|
|
||||||
sudo cp /config/autoload/local.php.dist /config/autoload/local.php
|
sudo cp ./config/autoload/local.php.dist ./config/autoload/local.php
|
||||||
|
|
||||||
Update connexion information to local.php and global.php
|
Update connexion information to local.php and global.php
|
||||||
|
|
||||||
|
@ -197,7 +198,7 @@ This shell script use others shell script. May be you node to change rights of t
|
||||||
Create Initial User and Client
|
Create Initial User and Client
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
Modify email and password (firstname or lastname) of first user in /module/MonarcFO/migrations/seeds/adminUserInit.php
|
Modify email and password (firstname or lastname) of first user in ./module/MonarcFO/migrations/seeds/adminUserInit.php
|
||||||
|
|
||||||
If you have a mail server, you can keep default password and click on "Password forgotten ?" after user creation.
|
If you have a mail server, you can keep default password and click on "Password forgotten ?" after user creation.
|
||||||
|
|
||||||
|
|
|
@ -28,11 +28,13 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "vcs",
|
"type": "vcs",
|
||||||
"url": "git+ssh://gogs@rhea.netlor.fr:2222/monarc/zm_client"
|
"url": "https://github.com/CASES-LU/zm-client"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "vcs",
|
"type": "vcs",
|
||||||
"url": "git+ssh://gogs@rhea.netlor.fr:2222/libs/PHPWord"
|
"url": "https://github.com/CASES-LU/monarc_phpword"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
"author": "Netlor",
|
"author": "Netlor",
|
||||||
"license": "Copyright",
|
"license": "Copyright",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ng_anr": "git+ssh://gogs@rhea.netlor.fr:2222/monarc/ng_anr#master",
|
"ng_anr": "https://github.com/CASES-LU/ng-anr#beta",
|
||||||
"ng_client": "git+ssh://gogs@rhea.netlor.fr:2222/monarc/ng_client#master"
|
"ng_client": "https://github.com/CASES-LU/ng-client#beta"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "~0.4.1",
|
"grunt": "~0.4.1",
|
||||||
|
|
Loading…
Reference in New Issue