ldc-boutique-cnc/README.md
2023-02-08 11:55:40 +01:00

58 lines
916 B
Markdown

# Boutique Click N Collect
## Installation
```
composer install
php artisan storage:link
cp .env.example .env
php artisan key:generate
```
Edit .env file then :
```
php artisan migrate --seed
```
## Theme
```
cd resources/views/front/
git clone [REPO_URL] --branch=[THEME_BRANCH_NAME] [THEME_NAME]
```
Ex:
```
git clone [REPO_URL] --branch=develop-mairet mairet
```
Update APP_THEME value in .env :
```
APP_THEME=[THEME_NAME]
```
Ex:
```
APP_THEME=mairet
```
Project root :
```
npm install && npm run prod
```
## Theme config
- To reload theme config on engine `php artisan config:sync`
- Theme config can be dynamic in `theme.config.php` inserting `MiniCrud`inputs inside, these muste be tested.
## Back-Office
Création de compte
```
php artisan create:admin
```
URL : /bo
## Required systems
* supervisor
## Notes implémentation
Les pages statiques sont disponible a tout moment: `$StaticPageGlobal`