Skip to content

Instantly share code, notes, and snippets.

@psgganesh
Created November 12, 2019 04:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psgganesh/430390b203459e7ed9b172f285e76f63 to your computer and use it in GitHub Desktop.
Save psgganesh/430390b203459e7ed9b172f285e76f63 to your computer and use it in GitHub Desktop.
Vaniloapp installation

Vaniloapp installation

Create a new project (optional):

composer create-project --prefer-dist laravel/laravel vaniloapp "5.8.*"
cd vaniloapp

Install the vanilo package:

composer require vanilo/framework

Publish module loader config:

php artisan vendor:publish --provider="Konekt\Concord\ConcordServiceProvider" --tag=config

Display all concord modules

php artisan concord:modules -a

Create .env

php artisan migrate

Seeing countries

php artisan db:seed --class '\Konekt\Address\Seeds\Countries'

Run auth

php artisan make:auth

Update App\User to

class User extends \Konekt\AppShell\Models\User
{

Update AppServiceProvider's boot method

$this->app->concord->registerModel(\Konekt\User\Contracts\User::class, \App\User::class);

Create An Initial Super User

php artisan appshell:super

Optional - https://vanilo.io/docs/1.0/installation#add-admin-s-css-to-laravel-mix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment