010PHP / 010php.nl

[DEPRECATED] The 010PHP Website
0 stars 1 forks source link

Feature/configure development server #28

Closed Caroga closed 8 years ago

Caroga commented 8 years ago

Problem: Composer install is unable to perform its duties (giggity) because the vagrant user is not part of the www-data group, or at least not able to write inside /tmp/cache since this is owned by www-data:www-data. Creating the /tmp/cache/dev folder is the problem.

Solution: I'd had 2 possible solutions and I went with the easiest: chmod 777 /tmp/cache.

I also encountered the problem during installing the system dependencies, this is resolved by adding the update_cache parameter to the installation step.

Caroga commented 8 years ago

Assigned to @reenl for review.

Caroga commented 8 years ago

I've removed the task which does nothing.. Running FPM as Vagrant is a good suggestion, I believe you've said that before. This is not a problem as these ansible roles are only used for setting up the local development server, the production server is handled differently.

I will set this up in a different branch.