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 --build
Build your assets:
yarn dev-server
docker-compose exec php bin/console
Check code styles using linters:
yarn lint
Test your application:
yarn test
Build your application for production:
yarn build
Push the build to your container registry:
yarn push
Requires 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 release
Requires 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.