K8sSymfonyReact is ready-to-go boilerplate for a scalable Symfony application with a React frontend.
The following tools should be available from your command line:
Build and run your application, watching container logs:
docker-compose up --buildBuild your assets:
yarn dev-serverdocker-compose exec php bin/consoleCheck code styles using linters:
yarn lintTest your application:
yarn testBuild your application for production:
yarn buildPush the build to your container registry:
yarn pushRequires docker to be configured for the container registry (example for Google Cloud).
The recommended way to do this is to authenticate a builder-system to the container-registry of your cloud project.
Perform a rolling update to your production or staging, depending on current kubectl context (cluster and namespace):
yarn releaseRequires a running Kubernetes cluster having the projects infrastructure set up.
Additionally you need to have a context configured for kubectl, that reflects the cluster and the desired namespace for this build.
When experiencing unexpected problems, refer to the troubleshooting section to update the requirements.
If that doesn't work; please create an issue.