platformsh-templates / strapi

Strapi Headless CMS template for Platform.sh
8 stars 11 forks source link

Write access for api folder #54

Closed aruno14 closed 2 years ago

aruno14 commented 2 years ago

Hello,

I had to add the below code to .platform.app.yaml to be able to create new collections:

mounts:
  "api":
    source: local
    source_path: api
chadwcarlson commented 2 years ago

Hi @aruno14 ! Thanks for the issue. We had this exact addition included in the template originally, however we were advised by the Strapi team to run this template in production when deployed. Adding new collections, or anything else that requires a development Strapi server to be run needs to be done locally.