Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 750 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 750 Bytes

Strapi application

A quick description of your strapi application

  • touch .platform.app.yaml && mkdir -p .platform && touch .platform/routes.yaml && touch .platform/services.yaml
  • curl https://raw.githubusercontent.com/platformsh-templates/eleventy-strapi/master/strapi/handle_mounts.sh >> handle_mounts.sh
  • curl https://raw.githubusercontent.com/platformsh-templates/eleventy-strapi/master/strapi/.environment >> .environment
  • Update .environment to use primary instead (ENVIRONMENT=$(echo $PLATFORM_ROUTES | base64 --decode | jq -r 'to_entries[] | select(.value.primary == true) | .key'))
  • modify build and deploy hooks to match eleventy-strapi