This project is based on Laravel, also leveraging Filament, Alpine.js and Tailwind, to mention a few. Runs fast and looks shiny.
-
nvm install node -
Install PHP 8.1
-
Install the
php8.1-sqlite3PHP extension. -
Copy
.env.exampleto a file.env.
-
touch database/database.sqlite -
In your
.envfile delete all theDB_variables and only set:
DB_DRIVER=sqlite
Note: You can also choose MySQL, PostgreSQL or Microsoft SQL but technically possible doesn't mean smart :-)
-
Make sure you have set the database credentials (and other relevant data) in the
.envfile. -
Initial Setup:
composer install
npm install
php artisan key:generate
php artisan migrate
php artisan db:seed
php artisan shield:install --fresh
php artisan storage:link
- Build the assets:
npm run build
Visit /admin to access the administration panel that lets you manage content and users.
php artisan make:filament-user
APP_ENV-local,production, etc...SUBSCRIBE_URL- Where the subscribe link leads to. Leave empty to hide the button.SITE_LIVE- Controls the Live/Coming Soon mode.
Watch the assets for change and rebuild locally:
npm run dev