new version of readme
parent
2d4e9475b6
commit
587352f9a1
19
README.md
19
README.md
|
@ -10,19 +10,14 @@ Installation
|
||||||
|
|
||||||
PHP & MySQL
|
PHP & MySQL
|
||||||
-----------
|
-----------
|
||||||
Install PHP (version 7.0 recommended) with Apache (or Nginx) with extensions : xml, mbstring, mysql, zip, unzip
|
Install PHP (version 7.0 recommended) with Apache (or Nginx) with extensions : xml, mbstring, mysql, zip, unzip, mcrypt, intl, imagick (extension php)
|
||||||
For Apache add mods : rewrite, ssl
|
For Apache add mods : rewrite, ssl (a2enmod)
|
||||||
|
|
||||||
Install MySQL (version 5.7 recommended) or MariaDb equivalent
|
Install MySQL (version 5.7 recommended) or MariaDb equivalent
|
||||||
|
|
||||||
|
|
||||||
Using Composer (recommended)
|
Using Composer (recommended)
|
||||||
----------------------------
|
----------------------------
|
||||||
The recommended way to get a working copy of this project is to clone the repository
|
|
||||||
and use `composer` to install dependencies using the `create-project` command:
|
|
||||||
|
|
||||||
curl -s https://getcomposer.org/installer | php --
|
|
||||||
php composer.phar create-project -sdev --repository="https://github.com/CASES-LU/skeleton/raw/master/packages.json" monarc/skeleton ./monarc
|
|
||||||
|
|
||||||
Alternately, clone the repository and manually invoke `composer` using the shipped
|
Alternately, clone the repository and manually invoke `composer` using the shipped
|
||||||
`composer.phar`:
|
`composer.phar`:
|
||||||
|
@ -31,7 +26,7 @@ Alternately, clone the repository and manually invoke `composer` using the shipp
|
||||||
git clone ssh://github.com/CASES-LU/MonarcAppFO.git ./monarc
|
git clone ssh://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
|
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)
|
||||||
|
|
||||||
(The `self-update` directive is to ensure you have an up-to-date `composer.phar`
|
(The `self-update` directive is to ensure you have an up-to-date `composer.phar`
|
||||||
available.)
|
available.)
|
||||||
|
@ -155,16 +150,18 @@ Only for linux system:
|
||||||
|
|
||||||
Update project
|
Update project
|
||||||
--------------
|
--------------
|
||||||
Play script (pull and migrations):
|
Play script (mandatory from the root of the project)(pull and migrations):
|
||||||
|
|
||||||
sudo sh ./scripts/update-all.sh
|
sudo /bin/bash ./scripts/update-all.sh
|
||||||
|
|
||||||
This shell script use others shell script. May be you node to change rights of these others files
|
This shell script use others shell script. May be you node to change rights of these others files
|
||||||
|
|
||||||
Create Initial User
|
Create Initial User
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
Modify email and password 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.
|
||||||
|
|
||||||
Create first user:
|
Create first user:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue