The purpose of this project is provide a simple way to create web aplications. We use Laravel framework with Filament Admin.
Please check the official laravel installation guide for server requirements before you start. Official Documentation
Clone the repository:
git clone https://github.com/A2Insights/filament-saas-template.git
Switch to the repo folder:
cd filament-saas-template
Install all php dependencies using composer:
composer install
Copy the example env file and config the database credentials.
cp .env.example .env
See all env vars available in the .env.example file.
Config in the .env the database vars
Generate a new application key:
php artisan key:generate
Flush de application cache:
php artisan optimize
Run the database migrations.
php artisan filament-saas:install
PS: Make sure you set the correct database connection information before running the install command.
Start the local development server:
php artisan serve
Install all node dependencies using npm:
npm install
Compile the css and javascript assets:
npm run dev
You can now access the server at http://127.0.0.1:8000
Go to http://localhost/sysadmin/login and login with the following credentials:
- Email:
[email protected]
- Senha:
123456
- Email:
[email protected]
- Senha:
123456
- Email:
[email protected]
- Senha:
123456
make .env config:
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
And run:
vendor/bin/sail build
vendor/bin/sail up -d
vendor/bin/sail sail artisan optimize
vendor/bin/sail artisan filament-saas:install
npm run install
npm run dev
You can now access the server at http://localhost
For more information: https://laravel.com/docs/sail
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License. Please see license file for more information.