#Installation site GIP EPAU en local ### From GitHub 1. Launch a **terminal** or **console** and navigate to the webroot folder: ``` $ cd path/on/your/computer $ git clone -b master https://figureslibres.io/gogs/ouidade/dev-epau.archi.fr.git ``` 2. Install vendor dependencies via composer: ``` $ cd path/on/your/computer/dev-epau.archi.fr $ composer install --no-dev -o ``` 3. Install the **plugin** and **theme dependencies** by using the [Grav CLI application](https://learn.getgrav.org/advanced/grav-cli) `bin/grav`: ``` $ bin/grav install ``` # Intall admin plugin ``` $ bin/gpm install devtools ``` # Lancer le serveur dans Terminal ``` $ cd chemin/du/dossier/dev-epau.archi.fr $ php -S localhost:8000 system/router.php ``` cette fenêtre doit restée ouverte # Dans le navigateur aller sur http://localhost:8000/ pour voir le site aller sur http://localhost:8000/admin pour accéder au back office \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ # Compilé les SCSS ``` $ cd chemin/du/dossier/dev-epau.archi.fr ``` ``` $ npm install ``` (uniquement la première fois) puis à chaque fois, dans une 2e fenêtre de Terminal, qui doit également restée ouverte: ``` $ cd chemin/du/dossier/dev-epau.archi.fr/user/theme/epau-antimatter $ npm run sass ```