Profile cover photo
Profile photo
Kurz kun
Kurz kun's posts

Post has attachment

So I followed JeffreyWays' tutorial on 'Zero to Deployment'. But I can't figure out why I couldn't get the environment to 'development' 

I was able to launch the app in forkrabbit. Now, I wanted to try and see if I can still connect to my database in development mode.

launched php artisan serve, with a route that displays App:environment just to see if it works.. but it doesn't.

It still shows up:
   string(10) "production"
instead of 'development'.

Here's my code:

Sorry, I'm still new to the framework, must have missed something from the video.. I'm still re watching it.

Thanks for reading. :)

Post has attachment
Wait while more posts are being loaded