git clone github.com/bayuawe/laravellunar.git example-app
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.
cd exampleapp
rm -rf .git
Then install composer dependencies
composer install
Copy the .env.example
file to .env
and make sure the details match to your install.
cp .env.example .env
All the relevant configuration files should be present in the repo.
Run the migrations
php artisan migrate
Install Lunar
php artisan lunar:install
Seed the demo data.
php artisan db:seed
Link the storage directory
php artisan storage:link
You are now installed!
- You can access the storefront at
http://<yoursite>
- You can access the admin hub at
http://<yoursite>/hub