Files
dev-epau.archi.fr/README.md
T
2021-05-06 14:40:08 +02:00

74 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#Installation site GIP EPAU
### intall grav avec composer
```
composer create-project getgrav/grav ~/webroot/grav
```
# lance serveur local
```
cd ~/webroot/nomdusite
php -S localhost:8000 system/router.php
```
Fenêtre à laisser ouverte!
#### dans autre fenetre, installer version admin
mise à jours
```
cd ~/webroot/nomdusite
bin/gpm selfupgrade
```
installe ladmin
```
bin/gpm install admin
```
créer un nouvel utilisateur
```
bin/plugin login newuser
```
#### installe devtools et créer nouveau theme
```
bin/gpm install devtools
bin/plugin devtools new-theme
```
# 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
```