https://github.com/boolfalse/laravel-boilerplate
Laravel Admin boilerplate
https://github.com/boolfalse/laravel-boilerplate
Last synced: 11 months ago
JSON representation
Laravel Admin boilerplate
- Host: GitHub
- URL: https://github.com/boolfalse/laravel-boilerplate
- Owner: boolfalse
- Created: 2023-10-19T09:02:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-19T09:02:52.000Z (over 2 years ago)
- Last Synced: 2025-01-10T06:58:55.500Z (about 1 year ago)
- Language: EJS
- Size: 1.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Admin Boilerplate
#### Installation
- Clone the repository:
```bash
git clone git@github.com:boolfalse/laravel-boilerplate.git
cd laravel-boilerplate
```
- Install dependencies:
```bash
composer install
npm install
npm run dev
```
- Create a database (sample for MySQL below):
```bash
mysql -u -p
CREATE DATABASE laravel_boilerplate;
CREATE USER 'laravel_boilerplate'@'localhost' IDENTIFIED BY '';
GRANT ALL PRIVILEGES ON laravel_boilerplate.* TO 'laravel_boilerplate'@'localhost';
FLUSH PRIVILEGES;
```
- [OPTIONAL] Laravel resources (files/folders) ownerships/permissions:
```
# one-time command for the PC:
sudo usermod -a -G www-data $USER
# setup ownerships/permissions
sudo chown -R $USER:www-data storage/ bootstrap/cache/
sudo chgrp -R www-data storage bootstrap/cache/
sudo chmod -R ug+rwx storage bootstrap/cache/
```
- Set the credentials in `.env` file (copy `.env.example` to `.env` and edit it).
```bash
php artisan key:generate
php artisan optimize
```
- Run migrations and seeders:
```bash
php artisan migrate:fresh --seed
```
#### Author:
- Author: [BoolFalse](https://boolfalse.com/)