This project presents an approach for deploying a React App on Tanzu Application Service (formerly Pivotal Cloud Foundry) addressing two major challenges:
- Config management - especially when dealing with multiple environments
- Enabling hash routes
The application uses the NGINX buildpack and was bootstrapped with Create React App.
For more details visit my related blog post: https://medium.com/@camposer
A demo app can be found here: http://react-app-to-tas.cfapps.io
In order to deploy you just need to execute:
cf push -f manifest.yml