On the Contribute a Showcase page, follow the steps of the showcase wizard and download the resulting zip file.
Extract the downloaded zip file and complete the following steps:
-
Fork the ui5-showcases GitHub repository.
-
Add the images from the extracted
large
folder to:<your_fork>/showcaselib/src/showcaselib/shared/data/large
-
Add the images from the extracted
small
folder to:<your_fork>/showcaselib/src/showcaselib/shared/data/small
-
Copy and paste the contents from the extracted
myShowcase.json
file into the following file:<your_fork>/showcaselib/src/showcaseslib/shared/data/model/showcases.json
-
In your fork, create a pull request to the master branch of the original repository.
-
Sit back and wait until your pull request is approved.
You need to have the following tools installed:
- Fork this repository.
- Clone the forked repository to your local machine.
- In the
showcaseslib/
directory, install the dependencies for the showcases library:cd showcaseslib/ npm install
- In the
application/
directory, install the application dependencies:cd ../application npm install
- Start the application (in the
application/
folder)npm start
- Open
http://localhost:8080
- Make sure the
master
branch of your fork is up to date by syncing your fork. - Create a new feature branch from the latest
master
:- Run
git checkout -b the-feature-name
.
- Run
- Make your changes, and save your files.
- Commit and push your changes to the forked repository:
- To commit, run
git add -A && git commit -m "Meaningful commit message"
- To push, run
git push
- To commit, run
Create a pull request from the feature branch of the forked repository to the master branch of the original repository.
We will review your changes and get back to you.
Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.