This is a simple Laravel 11 application that demonstrates how to build a simple storefront using the Vanilo framework. It also contains the Vanilo admin panel.
The app uses the default Bootstrap theme that comes with Laravel.
1. Get the app:
Either download and decompress the zipball or use git:
git clone https://github.com/vanilophp/demo.git
2. Install Dependencies:
cd demo/
composer install
3. Configure the environment:
The
.env
file is in the app's root directory.
- Create a database for your application.
- Initialize .env (quickly:
cp .env.example .env && php artisan key:generate
. - add the DB credentials to the
.env
file.
4. Install Database:
Run this command:
php artisan migrate --seed
5. Link Storage:
Run this command:
php artisan storage:link
6. Create the first admin user:
Run this command:
php artisan make:superuser
Enter your email, name, password, accept admin as role.
7. Open the application:
Run the site with php artisan serve
and access the site:
Products are not seeded so open the admin panel first to add some products.
For further details refer to the Vanilo Documentation.