-
Laravel 8.x
-
PHP 8.0
-
sudo apt install php8.0 php8.0-curl php8.0-mysql libapache2-mod-php8.0 php8.0-mbstring php8.0-xml php8.0-opcache php8.0-gd php8.0-zip
-
git clone -b master https://github.com/akhileshdarjee/packt.git
-
composer install
-
cp .env.example .env
-
php artisan key:generate
-
Create database and set database credentials in '.env' file
-
Set Packt API token in '.env' ->
PACKT_API_TOKEN="LjHaJEoAcYLbrjmswRuGWwcs2dKiizbqeFZ51jnw"
-
composer dumpautoload -o
-
php artisan migrate
cd /path/to/your/laravel/directory
sudo chown -R $USER:www-data bootstrap/cache
sudo chmod -R ug+rw bootstrap/cache
sudo chown -R $USER:www-data storage/
sudo chmod -R ug+rw storage/
Now, you've completed the configuration step ✌️
-
Serve it on your local server,
php artisan serve --port=8081
-
Hit the URL: http://localhost:8081
Enjoy...!!! 👍
-
Website Theme (Aviato) https://themefisher.com/products/aviato-e-commerce-template/
-
Favicons https://realfavicongenerator.net/
-
Hero Slider Image (Pixabay) https://pixabay.com/