Getting Started with SAPUI5: Alternative Guide
With reference to my recent post about the ‘sapui5bin’ repo on Github, I had also put together a Getting Started guide for SAPUI5 for some colleagues, with particular focus on getting up and running with a portable and independent environment you can have on your laptop. In the spirit of “you can never have too many getting started guides” (as I learn different things from different guides) I thought I’d make my guide available for your reading pleasure.
Here it is: Getting Started with SAPUI5
Taken from the Table of Contents, here’s what it covers:
Download and unpack SAPUI5
Choose a home development location
Set up Apache
Access your local SAPUI5 docs
Set up git for Windows
Share & enjoy!
Thank you for sharing! (especially for the GITHUB section)
I wholeheartedly agree with 1) your "I learn different things from different guides" statement, and 2) the final "Relax" paragraph in your guide! 😉
Thanks. Yes, I use the SimpleHTTPServer on other projects, but I'm using Apache because of the alias and reverse proxy requirements. I wasn't aware that SimpleHTTPServer handled those?
Another gem bookmarked. Love the 'getting started' concept (though for most subjects I never make it past that stage).
Will have a look later, most things should already be in place on my laptop, but you never know, and yes: you can always learn something from another guide.
Thanks for the nice guide. Is there anyway to get the static libraries from market place so that we can run the actual version not the trial version. In our case we would like to have production applications running on apache rather portal or ABAP app servers.As apache is officialy supported by SAP how to get the static libraries to install it in apache.
Thanks in advance,
One point that I'd like to reinforce is that you cannot necessarily follow some of the SAP guides to the letter with a local set up. I'm not a webhead as you know, so I followed the basic HelloWorld "fadey button" example in the Developer Guide.
Sure enough, it didn't work (in Chrome, where I prefer to do my Gateway work). Luckily Thomas Jung has been advocating the developer tools in Chrome just today so I used them to locate the problem. Turned out to be Same Origin Policy 🙁
I could not figure out why all the demokit examples worked and my simple test didn't.
Had a lightbulb moment - remembered your Apache config had an alias for the work folder. So I put my html file in my work folder (not the desktop,as per SAP guide) and it worked via localhost addressing (now in same origin).
P:S: it did work from desktop with IE10.
Posted something similar just that instead of apache, I used nodejs (handy to do it on laptop)
Can't see document 🙁 . Can you please check and share again...
Just checked, it's still available
Hey DJ Adams,
I just tried to download the file from this post and it seems the file is no longer available. Would it be possible to update the link?
Hi there - I'm afraid the document has disappeared, not sure what's happened to it. Sorry about that. But it is probably out of date now - things have moved on since I wrote that five years ago. In case you're just starting out, I'd recommend the use of the SAP Web IDE for UI5 development - a zero install option, with reverse proxying built in and everything. Good luck!
Thank you :-)! Have a good one!