Skip to content

A template app to deploy the Spreadsheet Importer packaged in a ui5 app

License

Notifications You must be signed in to change notification settings

spreadsheetimporter/packed-deployment-abap

Repository files navigation

UI5 Application com.spreadsheetimporter.centraltest

This UI5 Application enables a packaged deployment of the UI5 Spreadsheet Importer to use as central deployed component.

Description

Requirements

Either npm or yarn for dependency management.

You can use this concept in multiple ways:

  • create your own app and use the same concept as here
  • clone/fork the repo and change according to your needs
  • use the app as is and only change config

Preparation

Use npm to install the dependencies:

npm install

Deploy the app

  1. change .env file to your needs

Copy the .envTEMPLATE and rename it to .env. Add your credentials to the file.

  1. Change the ui5-deploy.yaml file to your needs

Copy ui5-deployTEMPLATE.yaml file and rename to ui5-deploy.yaml and change the following values to your needs:

  • target url
  • target client
  • app name
  • app description
  • app package
  • app transport
  1. Deploy the app

Execute the following command to build and deploy the app:

npm run deploy

Update local deployed apps

It is recommended to start with this sample app to deploy the Spreadsheet Importer to your local server.

Using this app

When you executed the above steps, you can create a new app in your own git server.
Commit your changes (like the new deploy yaml) and then push to your git server.
If a new version of this app is available, you can update your local deployed app.

You then have to git remotes like origin and local.
When you want to update your local deployed app, you can execute the following command:

git pull origin main # pull the latest changes from the repo
npm install # install the latest dependencies including the newest versions of spreadsheetimporter
npm run deploy # deploy the app to your local server
git push local main # push the changes to your local git server

Only using this as basis

Alternatively you can use the node addNewVersion.js command to only update the relevant lines in the package.json and manifest.json files.

node addNewVersion.js
git commit -am "update version"
git push local main

License

This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

About

A template app to deploy the Spreadsheet Importer packaged in a ui5 app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published