- PHP 7.4
- MariaDB 10.5
- Install pdftotext
sudo apt-get install poppler-utils
- Install Imagemagick
sudo apt install imagemagick
- Install KaTeX
npx katex
- Install Composer
sudo apt-get install composer
- Install Composer packages
composer install
- Create
.env
file
cp .env.example .env
- Check configuration
- For local development, the default front-end URL (Sanctum & CORS) is already set.
- Make sure the right
DB_
information is set
- Generate secret key
php artisan key:generate
- Link storage path
php artisan storage:link
- Run server
php artisan serve