0
votes

After i installed composer in mac os sierra then installed laravel framework 5.3, i cannot create cache directory or my directory is not writable, Proceeding without cache ( below detail error when installing laravel framework )

Please give me advise how to fix my problem, cause i'm newbie using mac

Thanks,

problem picture

1

1 Answers

0
votes

My best advice is to use Laravel Homestead instead of running the Laravel directly on Mac OSX.

  1. Homestead installation on Laracasts: Hello to laravel homestead or Laravel 5 Fundamentals

This should be enough for local development. If you want to go online look at the following steps:

  1. Create a Bitbucket repository
  2. Link your homestead to the bitbucket (That’s the tricky part). You will need to have SSH setup. This video should give you some hint. (Remember, you do not have to install git as it is included in homestead) By the way, this is my go to resources for git.

Once that done, the worse is behind you.

  1. Use Forge, this videos explains everything pretty well

It may seem like a lot, but in reality that will give you a really scalable environment that will spare you tons of trouble in the future.