Skip to content

Deprecated | NGINX + PHP + MySQL + NPM = Laravel

Notifications You must be signed in to change notification settings

t1k3/laravel-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Docker

Usage

  • Copy .env.example to .env and update
  • Remove /src from .gitignore
  • Delete or update DB_HOST, DB_DATABASE, DB_USERNAME, DB_PASSWORD in src/.env
$ cp .env.example .env
$ docker-compose up -d

$ docker-compose run --rm composer create-project --prefer-dist laravel/laravel ./

$ docker-compose run --rm composer install
$ docker-compose run --rm npm install
$ docker-compose exec -T php-fpm php artisan key:generate

$ docker-compose exec php-fpm sh

Check URL in browser

TODO

About

Deprecated | NGINX + PHP + MySQL + NPM = Laravel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published