Welcome to Felix website N+1. Enjoy your stay.
- PHP
- Composer
- MySQL
The repo include a VSCode development container config with all of this preinstall, so you may wish to use this. (note: always use localhost to access the website; VSCode defaults to 127.0.0.1 when opening the site browser when it detects it is running, which does not work)
- In MySQL, create a database schema called
laravel
byCREATE SCHEMA `laravel` DEFAULT CHARACTER SET utf8
- Run
composer install
under repository root - Copy
.env.example
into a new file called.env
- Run
php artisan key:generate
- In
.env
, setDB_USERNAME
andDB_PASSWORD
to the credentials of the MySQL account - Run
php artisan twill:install
and set up the admin account - Run
php artisan db:seed --class=SeedInDev
to populate the DB with default settings, "News" and "About" sections, plus an empty issue so you can see the homepage (NOTE: settings are as of 21/12/22, they may change since they include website styling so don't use these to recreate production!) - Run
php artisan storage:link
to set up local media storage - Start up a development server via
php artisan serve
(On Windows, uncomment extension_dir = "ext"
)
- mbstring
- pdo_mysql (or pdo_pgsql if using postgres)
- fileinfo