lunarphp/livewire-starter-kit

Livewire starter kit for Lunar e-commerce.


Keywords
ecommerce, laravel, e-commerce, lunar, livewire
License
MIT

Documentation

GetCandy

Demo Store

This repository is provided as a reference to learn how to use GetCandy Laravel E-Commerce package. This example is a classic e-commerce store and we are currently making a screencast series to show you how we did it!

Requirements

This demo store uses Meilisearch, for the best experience it is recommended you use this as well. If you want to use MySQL for search then you need to make sure you follow the configuration steps:

https://docs.getcandy.io/installation.html#search-configuration

Installation

Clone the repo

git clone --depth=1 https://github.com/getcandy/demo-store.git

This will create a shallow clone of the repo, from there you would just need to remove the .git folder and reinitialise it to make it your own.

Then install composer dependencies

composer install

Configure the Laravel app

Copy the .env.example file to .env and make sure the details match to your install.

All the relevant configuration files should be present in the repo.

Migrate and seed.

Run the migrations

php artisan migrate

Install GetCandy

php artisan getcandy:install

Seed the demo data.

php artisan db:seed

Link the storage directory

php artisan storage:link

This demo store uses Livewire to handle all routing and Laravel components where they make sense.