Closed pranay-91 closed 6 years ago
Hi, @pranay-91! :)
I think I made a bit mistake in setting the publicPath
in the output
section of the webpack configuration. I have fixed that and have also updated the docs, explaining how to deploy the app to Cumulocity in particular. Let me know if this solves your issue.
Hi @dwiyatci, Thanks for updated docs and the fixes. I have followed the steps. unfortunately I am getting same error 404 on nginx. It might possibly to do with the tenancy.
Do we need to provide cumulocity.json or App manifest file inside the zip file? Have you tested this boilerplate with any cumulocity tenancy?
I am using mac os high sierra. The cumulocity version i am using is 8.19.19 backend and 8.19.18 ui.
Thanks
Hi @dwiyatci, I have resolved the issue. The zip (assets) needs to include only the relevant file not including the root directory itself. For e.g. If we have assets bundled folder
The zip should be(if we renamed the assets to smart-apps)
Following would not work:
Thanks
@pranay-91 Glad that you resolved the issue. Yes, I guess I've already mentioned it quite clearly in the updated docs.
Zip all files under assets directory (⚠️ not the directory itself!) and name the ZIP file as "smartapps" or whatever you want to call the app.
Cheers, mate! ;)
I would like to deploy this app as an application into cumulocity. I have tried the following steps:
yarn build
to generate bundled files into assets folderWould anyone be able to provide information step by step on how to deploy this app?
Thanks