We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
SOLVED: both composer and .env
http://www.thedevgrind.com/...
artisan migrate isn't running automatically for me either. anyone else?
This is great. Thanks! The other thing that doesn't seem to happen is moving overwriting .env with .openshift/.env
I tried a laravel installation , pushing code from my local to openshift platform. I am having troubles with .env file, how do u make sure it get in place after every push? Also I am yet to try https://developers.openshif... for composer.
Hi Amit, a simple answer to your question is to use symbolic link. You can create a .env for your gear in $OPENSHIFT_DATA_DIR, then create a symbolic link to that .env in $OPENSHIFT_REPO_DIR where your app resides. This can be done automatically using a hook.
I am going to talk about this in part 2 of this tutorial so stay tuned.
A good site for generating `.gitignore` https://www.gitignore.io/
I don't really like the new environment detection on L5, I prefer the L4 way. I dunno way this keep bugging me.
... I don't fully understand this, ... what happen if I have multiple environment, and of course for sure in production way will always have to hardcode the 'host' => env('DB_PASSWORD', 'production_password'), alternative value,
so whats the big deal using .env files, if It will be only used in local mode.
lets say this is not real environment detection.
@leonel thanks for your comment
I believe Stauffer has written a great post on environment configuration and there is simply "no more" multiple environment on the same machine.
A Stackoverflow post (below) suggested a way around it but I can't find bootstrap/environment.php in the first place.
A little artisan command to physically rename different environment config to the .env might be a good solution, I'll write up a post if that goes well
Stauffer's post: https://mattstauffer.co/blo...
Stackoverflow post: http://stackoverflow.com/qu...
Thank you !!