By the end of this chapter we will have prepared our development environment so that we can start developing our bookshop app.
1. Prerequisites
2. Navigate into your preferred directory
3. Clone this repository
4. Navigate into the newly created directory
5. Open the directory
To be able to follow the instructions in this repository you need to fulfill one of the following requirements:
- Option 1: You have access to an instance of the SAP Business Application Studio with the role collection
Business_Application_Studio_Developer
assigned to you in the SAP Business Technology Platform Cockpit. Create a new dev space of typeFull Stack Cloud Application
to get started.
If you don't have access to the SAP Business Application Studio yet, check this tutorial on how to get a free account on SAP BTP trial, from where you can subscribe to the SAP Business Application Studio.
-
Option 2: You can use your local machine and have the following tools installed:
- Node.js (version 18 or higher) including
npm
- git
- Your favorite code editor (e.g. Visual Studio Code)
- You need privileges to install npm packages from the npm registry
- Node.js (version 18 or higher) including
-
Option 3: You can run this project in a devcontainer using the provided configuration. You need to meet one of the following requirements:
- Option 3a: You have GitHub codespaces enabled for your GitHub organization and account.
- Option 3b: You have Docker Desktop installed on your machine and can use a Visual Studio Code extension to run the devcontainer locally.
➡️ In your development environment (see step 1), open a new terminal session and navigate to where you want to store this repository.
➡️ Execute the following command to clone this repository:
git clone https://github.com/SAP-samples/ui5-exercises-codejam
The command created new directory for the cloned repository.
We want to navigate into the bookshop
directory inside newly created directory, as this is where we will build our application.
➡️ Execute the following command in the same terminal session:
cd ui5-exercises-codejam/bookshop
➡️ Open the directory in the code editor of your choice, depending on the option you chose in step 1.
Continue to Chapter 01 - Scaffolding the App