- Docker & Docker Compose.
git clone git@github.com:fordiquez/laravel-store.git
cd laravel-store
cp .env.example .env
APP_URL=
DB_CONNECTION=sqlite
#DB_HOST=mysql
#DB_PORT=3306
#DB_DATABASE=brandford
#DB_USERNAME=root
#DB_PASSWORD=root
CACHE_DRIVER=database
FILESYSTEM_DISK=public
QUEUE_CONNECTION=database
SESSION_DRIVER=database
MAIL_MAILER=
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME=
MULTIAVATAR_API_KEY=
CSC_API_KEY=
STRIPE_KEY=
STRIPE_SECRET=
STRIPE_WEBHOOK_SECRET=
composer install
npm install
docker-compose up --build -d
docker exec -it store-laravel php artisan horizon
docker exec -it store-laravel /bin/bash
php artisan key:generate
php artisan storage:link
php artisan migrate:fresh --seed
php artisan shield:install --fresh
php artisan db:seed --class=RoleSeeder
php artisan optimize:clear
npm run dev
stripe login
stripe listen --forward-to laravel-store.test/stripe/webhook
Path for Windows:
C:\Windows\System32\drivers\etc
Add your application domain:
127.0.0.1 laravel-store.test