How to deploy a react app with c8y cli commands

Hi Samanyu,

yes this is in general possible.
If you built your react app as described here: How to host a react application on Cumulocity IoT - #7 by Tristan_Bastian
You afterwards just have to place a valid cumulocity.json file in the build folder.
Once that is done, you can do a c8ycli deploy ./build, and enter your credentials to deploy the app.

Regards,
Tristan

1 Like