This a demonstration application for the API Platform Framework. Try it online at https://demo.api-platform.com.
$ git clone https://github.com/api-platform/demo.git
$ docker-compose up
And go to https://localhost.
$ docker-compose exec php bin/console hautelook:fixtures:load
Everything is pre-configured. Edit the ci/.env
file to set your project parameters, and declare the following secured
environment variables in your CI:
PROJECT_ID
: GCP project id (i.e:api-platform-demo-123456
)CI_SERVICE_ACCOUNT
: GCP service accountCI_SERVICE_ACCOUNT_KEY
: GCP service account keyCF_API_KEY
: Cloudflare API keyCF_API_EMAIL
: Cloudflare email
Important: do not check "Display value in build log" for security reason!
Deployment will be done automatically by the CI.