Update README.md
This commit is contained in:
parent
90a45ee200
commit
ff80c3f138
47
README.md
47
README.md
|
@ -420,6 +420,53 @@ On crée le fichier de configuration approprié pour notre service (cf [document
|
|||
|
||||
</details>
|
||||
|
||||
## Installation du client web movim
|
||||
|
||||
### Prérequis
|
||||
|
||||
Installer les paquets :
|
||||
|
||||
```
|
||||
sudo apt install composer php-fpm php-curl php-mbstring php-imagick php-gd php-pgsql php-xml
|
||||
```
|
||||
|
||||
### Installation du serveur movim
|
||||
|
||||
#### Récupération de la dernière version
|
||||
|
||||
```
|
||||
cd /var/www
|
||||
wget https://github.com/movim/movim/archive/refs/tags/vxxx.tar.gz
|
||||
tar -xf vxxx.tar.gz
|
||||
chown www-data movim-0.21 && chown www-data movim-0.21/public && chmod u+rwx movim-0.21
|
||||
cd movim-xxx
|
||||
```
|
||||
|
||||
#### Déploiement avec php-composer
|
||||
|
||||
```
|
||||
cd /var/www/movim-xxx/
|
||||
sudo -u www-data composer install
|
||||
```
|
||||
|
||||
#### Création de la base
|
||||
|
||||
```
|
||||
sudo -i -u postgres
|
||||
createuser --interactive
|
||||
exit
|
||||
sudo -u postgres psql
|
||||
CREATE DATABASE movim OWNER movim;
|
||||
```
|
||||
|
||||
### Mise à jour du serveur movim
|
||||
|
||||
```
|
||||
cd /var/www/movim-xxx/
|
||||
git pull # To update the Movim source-code
|
||||
composer install # To update the libraries
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue