-
You can run it directly from cli
php -S localhost:8080
-
Apache configuration It's already handled by .htaccess file
-
Nginx configuration
server { index index.php; location / { try_files $uri @php_root; } location @php_root { fastcgi_pass unix:/run/php-fpm/php-fpm.sock; # or fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi_params; # Redirect everything to index.php fastcgi_param SCRIPT_FILENAME $document_root/index.php; fastcgi_param HTTPS off; } }
Rename .env.example
to .env
and update settings to your preference.
- Generating tailwind classes
npm run build
pnpm build
yarn build