Skip to content

subrahmanyam-pampana/miiproxyserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy server for SAP MII

This proxy act as a connector between MII server and local webserver. With the use of this proxy we can consume data from MII in local ui5 application developed in VS code and pull/push code from mii workbench.

image

commands

  • npm run pull to pull the code from mii workbench folder
  • npm run start to start the node server
  • npm run push to push changes back to mii workbench.

Prerequasites

  1. Install latest version of node js from official website. Make sure you configured path environment variable.
  2. Install VS code from official website

Server setup

  1. Download the project files from later release and extract the files.
  2. open config.json file and configure your mii user name, mii server details and your ui5 root folder path.
  • by default given illumnator and Runner servers end points in the configs file. in case your using any other mii services, include them in the endpoints

image

  1. open the terminal in vs code by pressing ctrl+shift+` . Make sure your in the root folder(i.e miiproxyserver folder)
  2. run npm install in terminal. this will install all the required modules.

image

  1. Open the terminal in the vs code and run the cmd npm run pull. This will pull the code from your mii server and place in the webapp folder.

image

  1. run npm run start command in terminal. This will start node server at port 3000. in case this port is already used by any other application or service change the port number in configs.json file. it will ask for your mii server password. enter your password in the terminal and press enter.

image

  1. Open any browser and run http://localhost:3000/index.html
  • it will show the your ui5 app. that means your server is correctly configured.

8.Once you done with your changes, run the cmd npn run push to push your changes back to mii workbench.(before pushing check all the changed file at ./data/modifiedFiles.json file. it containes all the modified files.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published