Quantcast
Viewing all articles
Browse latest Browse all 789

Git Git Hurray: Web IDE, WebStorm and Git

Inspired by Santhosh Gowda and his Commit Ui5 Application into Git Repository.


Prerequisites:

SAPUI5 application is created in Web IDE and deployed to HCP (sample project name: sdn)


  1. Download Git from http://git-scm.com/download
  2. Install Git
  3. In WebStorm go to File->Default settings… In a popup select Version Control->GitImage may be NSFW.
    Clik here to view.
  4. In SAP HCP Cockpit go to HTML5 Applications, select our application created in in Web IDE, select Versioning from left hand menu, right click on the link next to Git Repository URL and select Copy Link Address

Image may be NSFW.
Clik here to view.

  1. In WebStorm go to VCS->Checkout from Version Control->Git and in the popup paste an url to Git repository (copied on previous step), change name of the Parent and project directories if needed. Click Clone.  Image may be NSFW.
    Clik here to view.
  2. Bummer!

Image may be NSFW.
Clik here to view.

  1. Go to Git directory, in file etc\gitconfig add following setting in [http] section:


[http]  sslVerify = false
  You might have to run text editor as Administrator

  1. Repeat step 5. New project will appear in the WebStorm

Image may be NSFW.
Clik here to view.

  1. Now we can work on the application locally and once we done with changes, open Tool Window #9 (Version Control). Right click on the resource and select Commit Changes..., set Author and Comment (optional) and click on Commit (or Commit and Push). Select a branch in case of Push and click Push


Image may be NSFW.
Clik here to view.








Image may be NSFW.
Clik here to view.







Image may be NSFW.
Clik here to view.

  1. Now we go back to SAP HCP Cockpit, go to HTML5 Applications, select our application created in in Web IDE, select Versioning from left hand menu. We see our commit in the table, so we can create a new version and activate

Image may be NSFW.
Clik here to view.


Once we are done with activating a new version we can run the application and ensure our changes are deployed correctly


Image may be NSFW.
Clik here to view.





Viewing all articles
Browse latest Browse all 789

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>