Skip to content

Laravel laboratory work will be stored here. Made by student Maryukhna Dmytro Ivanovych IKM - 223a

Notifications You must be signed in to change notification settings

gitCode5345/laravel-setup

 
 

Repository files navigation

Prepare

git clone https://github.com/Khoroshun/laravel-setup.git .
cat .env.example >> .env

Update variables to your needs.

Install Project

Run your docker containers

docker compose up -d

Install dependency

docker compose exec php composer install

Change permissions to created project (only Linux)

sudo chown $(id -u):$(id -g) ./ -Rf

Change permissions to storage folder (only Linux)

sudo chmod 777 storage/ -Rf

Generate app key

docker compose exec php ./artisan key:generate

Restart docker-compose

docker compose stop
docker compose up -d

Migrate database

docker compose exec php ./artisan migrate --seed          

Project links

Project - http://127.0.0.1:8080

DB - http://127.0.0.1:8084/?pgsql=postgres

About

Laravel laboratory work will be stored here. Made by student Maryukhna Dmytro Ivanovych IKM - 223a

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 68.9%
  • Blade 30.3%
  • Other 0.8%