-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use html5-push with MTA based fiori app? #45
Comments
Hi @js1972 ,
you can run the
In case you have already deployed the MTA or pushed UI with
You can find some relevant info here #39 as well. |
Thanks for the detailed response. I will try this. Typically I always use an MTA and was hoping html5-push would be a quicker way because after initial deployment most changes are just to the UI5 app. ;-) |
By the way, if there is only one UI5 app that you deploy to preview intermediate results, you can copy Alternatively, you can run UI5 app in SAP Business Application Studio without deploying it. If you use managed or standalone Approuter in your MTA project, you can create run configuration (the "play" panel on the left side) and preview UI5 application with different UI5 versions, themes, as standalone HTML5 app with index.html or as part of FLP (if you don't have any HTML file, but only Component.js). If you develop UI5 app outside of SAP Business Application Studio (e.g. in VSCode on your laptop), it is also possible to run UI application locally using html5-repo-mock NPM package that will emulate required CloudFoundry services. |
First, thank you @micellius for your responses. I have a similar scenario where i have like 14 ui5 apps as modules inside a single MTA CAP project. Lets say that i want to deploy just a single ui5 module called "configuringworkers". After using the Is this case an expected behavior? What can I do to just push a single ui5 module without affecting the others? Thank you in advance! |
Hi @Gabriel-Yepes , 1. Don't deploy during development.If you need to develop a new feature or fix an issue with existing UI application, you don't necessary need to deploy your UI application each time. You may use html5-repo-mock instead. The 2. Get all, push allIf you need to apply some hot fix, and don't want to go through the whole process or you don't have originally deployed files, you may:
3. Multiple
|
Description
How do I use html5-push for a Fiori application generated with the standard business application studio templates (mta with html5 module).
If I try it does not seem to work. I think its because the ui5 tooling builds the app into a /dest folder which html5-push doesn't know about. so when I run cf html5-push from the project root I don't see any errors but my app does not seem to get updated.
Is html5-push not meant to be used for mta based apps?
Environment
CLI Output
Set environment variable
DEBUG=1
, run the flow and paste output here.The text was updated successfully, but these errors were encountered: