-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions about Usage #3
Comments
Additionally, how do you handle permissions? |
Hi Ben, I'm no longer using this directly. I have a yo generator to create a more detailed docker-compose.yml file from an empty or existing laravel project. You can find more info here: https://github.com/vcarreira/generator-docker-laravel. Because I'm using this as a developer I didn't follow a pure container approach. I have composer, node + npm + yarn installed on my host OS to quickly add packages or compile front-end stuff. For the artisan stuff I prefer to run a shell on the nginx container: I mainly use this to isolate Laravel projects I'm working on. My usually workflow for new Laravel projects is:
Day to day workflow:
However if you want to follow a pure container approach you can use the I'm opened to PR but check first the |
This is an excellent framework - I've adapted it slightly for my own use!
My main question: how do you go about provisioning on startup? Do you assume the user is going to run
composer install
,npm install
,artisan migrate
, and the other commands required for bringing up a full laravel environment from a repository (which would typically have the composer and npm packages gitignored), or is there a facility available using your framework to run those commands when the image comes up?If you don't have one, would you be open to a PR which creates one?
The text was updated successfully, but these errors were encountered: