Skip to content

Commit cb7fd28

Browse files
Issue with build command
1 parent fe93f03 commit cb7fd28

File tree

876 files changed

+65
-610890
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

876 files changed

+65
-610890
lines changed

.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SAP Connection Settings
2+
SAP_URL=https://example.sap-server.com:44300
3+
SAP_USER=EXAMPLE_USER
4+
SAP_PASSWORD=your_password_here
5+
SAP_CLIENT=100
6+
SAP_LANGUAGE=EN

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.env
2-
build
2+
dist
33
node_modules
4+
package-lock.json

README.md

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,50 +26,56 @@ This project was generated by Cline.
2626

2727
1. **Clone the Repository**
2828

29-
```bash
29+
```cmd
3030
git clone https://github.com/mario-andreschak/mcp-abap-abap-adt-api.git
3131
cd mcp-abap-abap-adt-api
3232
```
3333

3434
2. **Install Dependencies**
3535

36-
```bash
36+
```cmd
3737
npm install
3838
```
3939

4040
3. **Configure Environment Variables**
4141

42-
Create a `.env` file in the root directory and add the necessary environment variables:
42+
An `.env.example` file is provided in the root directory as a template for the required environment variables. To set up your environment:
4343

44-
```env
45-
SAP_URL="https://your-abap-system-url:port"
46-
SAP_USERNAME="your_username"
47-
SAP_PASSWORD="your_password"
48-
```
44+
a. Copy the `.env.example` file and rename it to `.env`:
45+
```bash
46+
cp .env.example .env
47+
```
4948

50-
The following values are technically optional, but also possible:
49+
b. Open the `.env` file and replace the placeholder values with your actual SAP connection details:
5150

52-
```env
53-
SAP_CLIENT="your_logon_client"
54-
SAP_LANGUAGE="your_logon_languge"
55-
```
51+
```env
52+
SAP_URL=https://your-sap-server.com:44300
53+
SAP_USER=YOUR_SAP_USERNAME
54+
SAP_PASSWORD=YOUR_SAP_PASSWORD
55+
SAP_CLIENT=YOUR_SAP_CLIENT
56+
SAP_LANGUAGE=YOUR_SAP_LANGUAGE
57+
```
58+
59+
Note: The SAP_CLIENT and SAP_LANGUAGE variables are optional but recommended.
5660

57-
If you're using self-signed certificates, you can also set
61+
If you're using self-signed certificates, you can also set:
5862
5963
```env
6064
NODE_TLS_REJECT_UNAUTHORIZED="0"
6165
```
6266
67+
IMPORTANT: Never commit your `.env` file to version control. It's already included in `.gitignore` to prevent accidental commits.
68+
6369
4. **Build the Project**
6470

65-
```bash
71+
```cmd
6672
npm run build
6773
```
6874

6975
5. **Run the Server**
7076

71-
```bash
72-
node build/index.js
77+
```cmd
78+
npm run start
7379
```
7480

7581
(or alternatively integrate the MCP Server into VSCode)
@@ -86,19 +92,19 @@ Contributions are welcome! Please follow these steps to contribute:
8692
1. **Fork the Repository**
8793
2. **Create a New Branch**
8894

89-
```bash
95+
```cmd
9096
git checkout -b feature/your-feature-name
9197
```
9298

9399
3. **Commit Your Changes**
94100

95-
```bash
101+
```cmd
96102
git commit -m "Add some feature"
97103
```
98104

99105
4. **Push to the Branch**
100106

101-
```bash
107+
```cmd
102108
git push origin feature/your-feature-name
103109
```
104110

node_modules/.bin/fxparser

Lines changed: 0 additions & 16 deletions
This file was deleted.

node_modules/.bin/fxparser.cmd

Lines changed: 0 additions & 17 deletions
This file was deleted.

node_modules/.bin/fxparser.ps1

Lines changed: 0 additions & 28 deletions
This file was deleted.

node_modules/.bin/tsc

Lines changed: 0 additions & 16 deletions
This file was deleted.

node_modules/.bin/tsc.cmd

Lines changed: 0 additions & 17 deletions
This file was deleted.

node_modules/.bin/tsc.ps1

Lines changed: 0 additions & 28 deletions
This file was deleted.

node_modules/.bin/tsserver

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)