new version of readme

pull/1/head
Jerome De Almeida 2017-02-01 11:09:55 +01:00
parent 2d4e9475b6
commit 587352f9a1
1 changed files with 11 additions and 14 deletions

View File

@ -10,19 +10,14 @@ Installation
PHP & MySQL
-----------
Install PHP (version 7.0 recommended) with Apache (or Nginx) with extensions : xml, mbstring, mysql, zip, unzip
For Apache add mods : rewrite, ssl
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 (a2enmod)
Install MySQL (version 5.7 recommended) or MariaDb equivalent
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
`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
cd monarc
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`
available.)
@ -155,16 +150,18 @@ Only for linux system:
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
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: