hxd / larak
Base Laravel with Vuejs Project
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.0
- ext-json: *
- bensampo/laravel-enum: ^5.1
- doctrine/dbal: ^3.2
- fruitcake/laravel-cors: ^2.0.5
- guzzlehttp/guzzle: ^7.2
- hxd/filemanager: ^0.0.4
- intervention/image: ^2.7
- kalnoy/nestedset: ^6.0
- laravel/framework: ^9.0
- laravel/sanctum: ^2.14.1
- laravel/tinker: ^2.7
- laravel/ui: ^3.4
- tightenco/ziggy: ^1.4
Requires (Dev)
- fakerphp/faker: ^1.9.1
- laravel/sail: ^1.0.1
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^6.1
- phpunit/phpunit: ^9.5.10
- spatie/laravel-ignition: ^1.0
This package is auto-updated.
Last update: 2024-10-22 23:31:33 UTC
README
HXD LaraK
Overview
Base Laravel with Vuejs Project
How to setup
NOTE Require finish setting up environment before.
1 - Pull source code
- Clone project's repository inside
laradev/data
cd ~/laradev/data/sites
git clone {repository_url}
2 - Enter the project folder, copy and rename env-example
to .env
cd ~/{project_folder}
cp env-example .env
3 - Config .env, you can create new database via Laradev instruction, default
database is laravue
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE={dbname}
DB_USERNAME=larak
DB_PASSWORD=example
REDIS_HOST=localhost
REDIS_PASSWORD=null
REDIS_PORT=6379
9 - Change hosts file In local machine, Add bellow config to「/etc/hosts」file.
# Add domain to hosts
127.0.0.1 yourproject.dev
10 - Using composer to install PHP packages In project folder, run bellow command
composer install
11 - Using npm to install Node Js packages In project folder, run bellow command
npm ci
12 - Generate the application key In project folder, run bellow command
php artisan key:generate
13 - Migrate and seeding database In project folder, run bellow command
php artisan migrate --seed
14 - Complie js In project folder, run bellow command
npm run dev
15 - Link storage to public In project folder, run bellow command
php artisan storage:link
16 - Open your browser and visit https://yourproject.dev/
That's it! enjoy :)