1.2 KiB
1.2 KiB
#Installation site GIP EPAU en local
From GitHub
- 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
- Install vendor dependencies via composer:
$ cd path/on/your/computer/dev-epau.archi.fr
$ composer install --no-dev -o
-
Install the plugin and theme dependencies by using the Grav CLI application
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
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
Dans le navigateur
aller sur http://localhost:8000/ pour voir le site
aller sur http://localhost:8000/admin pour accéder au back office