# 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` # Fonts - Robot fonts are used in PDF generation documents. # STRIPE php artisan cashier:webhook - Il faut creer les webhooks dans le bo de Stripe. - Personaliser la page de paiement https://packages.stripe.dev/api/security/keypair/stripe-cli-gpg/public - Il faut faire des payments avec plusieurs cartes pour valider l'intégration et avoir les clés de production https://dashboard.stripe.com/test/developers pour ensuite activer le compte https://dashboard.stripe.com/account/onboarding/ # TODO - Allow changing e-mail quand ca sera supporté sur CRM (use soundsystem mechanism)