Heroku deploy problem. blade failed to open stream: Read-only file system. I know this is a problem with blade trying to write files. I just wanted to know if it is possible for compile blade into something that doesn't need to write. Also, if not, if anyone knows any good free hosting sites, like heroku, that would let me do this. I just wanted to be able to have a website for one of my projects to live. Thanks!
The web server user must have Write Permission on storage folder as explained on laravel docs:
Directory Permissions
After installing Laravel, you may need to configure some permissions. Directories within the storage and thebootstrap/cache directories should be writable by your web server. If you are using the Homestead virtual machine, these permissions should already be set.
Thanks Elias! I know about the Homestead virtual machine, but I can't say it isn't over my head a bit. I don't think that Heroku allows for write permissions, period. So, I'm thinking that this might be over my head. I am by no means skilled at PHP, and I just wanted to make this work. However, setting up a virtual machine, may be too complex for me.
Yes, I did, but unfortunately, this has not worked. I am unsure as to whether it is outdated, or just a problem with blade. Perhaps, there is a way to prep my files for deployment, through laravel or some other tool. However, I have not found it! Thanks for trying, though! Brazil must be fun!