Skip to content
This repository was archived by the owner on May 8, 2021. It is now read-only.

We've found a ship, a captain, a composer and an orchestra. 🎵

License

Notifications You must be signed in to change notification settings

webbertakken/K8sSymfonyReact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K8sSymfonyReact


K8sSymfonyReact is ready-to-go boilerplate for a scalable Symfony application with a React frontend.

Prerequisites

The following tools should be available from your command line:

Start

Build and run your application, watching container logs:

docker-compose up --build

Build your assets:

yarn dev-server

Console

docker-compose exec php bin/console

Lint

Check code styles using linters:

yarn lint

Test

Test your application:

yarn test

Build

Build your application for production:

yarn build

Push

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.

Release

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.

Troubleshooting

When experiencing unexpected problems, refer to the troubleshooting section to update the requirements.

If that doesn't work; please create an issue.

About

We've found a ship, a captain, a composer and an orchestra. 🎵

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •