#The GET method is not supported for route /. Supported methods: HEAD.
1 messages · Page 1 of 1 (latest)
php artisan optimize
php artisan optimize:clear
tried this ?
yeah I tried. However I dont know which files to deploy again on hosting.
But I think somehow I solved this
But now I have problem with this error:
file_put_contents(C:\Users\ssosta\Documents_škola\Vlastné\emFloors_\storage\framework/sessions/UGUsRoBCBtpFCfEUdjPTtQcAZ9mekNSwLtsBYk0r): Failed to open stream: No such file or directory
why is there my local directory even though it is deployed on the server?
is it solved now ?
do not use these in dev please
okay what's issue with that
it will cache your routes and it is absolutely useless in dev
yes but when doing clear it will release it
and will not cache it further, as i have experienced it
Or dev server ?
why bother, its a development/local env? you dont need the teeny ammount of extra performance on an env you are constantly updating, only makes for a mess and errors
just add it to your rollout in prod and thats it 
Some companies have development environment to which they deploy to jn which case it’s fine. Local you should not be.
yeah but thats more of a staging then it is dev
Depends on how complex the workflow is
I’ve seen dev -> multiple staging envs -> pre-prod -> prod
They have their benefits when working on larger projects
oh okay
With multiple long running features
okey so sum up is that I have to edit env right?
I am totally new in Laravel so sorry when I dont understand
@leaden pumice No. That is discussion of something else. To know your problem please share the full error message including the stacktrace.