Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save danielpereirabp/38e186927db0e0a49d7f9a4538c11baa to your computer and use it in GitHub Desktop.
Save danielpereirabp/38e186927db0e0a49d7f9a4538c11baa to your computer and use it in GitHub Desktop.
Laravel Development
$ composer create-project --prefer-dist laravel/laravel project-name
$ cd project-name
$ sudo chown -R $USER:$USER .
https://phpdocker.io/generator
$ docker-compose up -d
$ docker exec -it container-name chgrp -R www-data storage bootstrap/cache
$ docker exec -it container-name chmod -R ug+rwx storage bootstrap/cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment