# Install PyroCMS and dependencies. composer create-project pyrocms/pyrocms myproject.dev # Enable writable permissions. sudo chmod -R 777 path_to/myproject.dev/storage sudo chmod -R 777 path_to/myproject.dev/public/app sudo chmod -R 777 path_to/myproject.dev/bootstrap/cache # Remove installer-module from composer.json and update. composer update
Depending on the relationship between your system user and the user PHP is running as you likely want to use less permissive permissions for writable directories:
- If they are the same user, use 744.
- If they're in the same group, then use 774.
- If they are neither the same user nor in the same group, you can use 777. Please do so with caution!