Best laravel framework open-source packages.

Photo gallery laravel

Photo gallery simple website with Laravel and build in docker
Updated 3 months ago

Install

Create .env file:

cp .env.example .env

If you run project with docker, modify your .env file with DATABASE same:

DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=photo_gallery_laravel
DB_USERNAME=trannguyenhan
DB_PASSWORD=mysql12345

And run project with docker:

docker-compose up
localhost:8005

Install dependency and gen key app:

docker-compose exec app composer install
docker-compose exec app php artisan key:generate

If you run project without docker, import database from folder database/photo-gallery-laravel-database.sql and modify your .env suitable with your database you config and run script:

composer update
composer install
php artisan key:generate

Run project without docker:

php artisan serve
localhost:8000

Demo

Album page

Photo page

Tags nginx docker