Haven’t gotten Larafast Directories yet? Check here: https://larafast.com/projects/directories
As Directories Boilerplate based on Larafast, for all the available base features check Larafast Main documentation: https://docs.larafast.com
Installation
If you have installed the project using the Larafast Installer, you can skip this steps.
Clone repo and install composer
Create .env file
Create APP_KEY just run:
Change admin user details
Open thedatabase/seeders/AdminSeeder.php
file and update the default admin user details.
database/seeders/AdminSeeder.php
If you plan to use different roles, update the
database/seeders/RoleSeeder.php
file.Categories and Products
To modify pre-defined categories and products before running migrations, update thedatabase/seeders/CategorySeeder.php
and database/seeders/ProductSeeder.php
files.
Details about how to manage categories can be found in Categories documentation.
Run migrations
By default DB_CONNECTION is set to SQLite, feel free to change it to MySQL or any preferred DB.
.env
Install NPM and Run
Run Local Server
Laravel comes with a handy artisan serve command to run a local server. Feel free to use Valet or any other local server management tools.Don’t forget to remove the starter kit’s git configs. To do so:
rm -rf .git
- to init fresh git folder later git remote remove origin