- PHP 7.4
- MySQL 8.0
Install the following libraries & PHP extensions:
sudo apt install openssl php-bcmath php-common php-intl php-json php-mbstring php-tokenizer php-xml php-zip unzip
Then, install the project dependencies:
composer install
Configure the application:
cp .env.example .env
vi .env
php artisan key:generate
php artisan migrate --seed
php artisan storage:link
php artisan telescope:publish
Finally, compile the assets:
npm install
npm run dev
You can deploy the project by executing dep deploy production
.
* * * * * cd /var/www/html/current && php artisan schedule:run >> /dev/null 2>&1