Skip to content

Commit 9483d22

Browse files
authored
Merge pull request #98 from eclipse/chore/port-gitlab-changes
chore: port changes from gitlab
2 parents a336103 + f9f7dd3 commit 9483d22

32 files changed

+25596
-15156
lines changed

.github/workflows/publish-to-gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-node@v2
1212
with:
13-
node-version: '14'
13+
node-version: '20'
1414
- run: npm install
1515
- run: npm run build
1616
- name: Deploy 🚀

.prettierrc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"arrowParens": "always",
3+
"bracketSpacing": true,
4+
"endOfLine": "lf",
5+
"htmlWhitespaceSensitivity": "css",
6+
"insertPragma": false,
7+
"singleAttributePerLine": false,
8+
"bracketSameLine": false,
9+
"jsxBracketSameLine": false,
10+
"jsxSingleQuote": false,
11+
"printWidth": 80,
12+
"proseWrap": "preserve",
13+
"quoteProps": "as-needed",
14+
"requirePragma": false,
15+
"semi": true,
16+
"singleQuote": false,
17+
"tabWidth": 4,
18+
"trailingComma": "es5",
19+
"useTabs": true,
20+
"embeddedLanguageFormatting": "auto",
21+
"vueIndentScriptAndStyle": false,
22+
"parser": "babel"
23+
}

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ Find the ediTDor here to try it out:
77

88
https://eclipse.github.io/editdor/
99

10+
## Using the AI Chat Function
11+
The AI chat is currently implemented using Azures cognitive services API. To make use of the chat
12+
the app has to be compiled with two additional environment variables:
13+
```bash
14+
REACT_APP_OPENAI_KEY={api_key}
15+
REACT_APP_OPENAI_URI={azure_resource_address}
16+
```
17+
1018
## About this project
1119

1220
The goal of this project is the easy creation of W3C Thing Description instances and Thing Models by providing a platform-independent ediTDor tool. The following features are addressed in this project
@@ -33,6 +41,10 @@ All systems require the following:
3341

3442
* [NodeJS](https://nodejs.org/) version 10+ (e.g., 10.13.0 LTS)
3543

44+
45+
## Install dependencies
46+
`npm install` install all the dependencies listed within package.json
47+
3648
## Start Locally
3749
`npm run start` starts a local development server on Port 3000 (http://localhost:3000)
3850

@@ -41,7 +53,8 @@ All systems require the following:
4153

4254
`npm build` builds the project for deployment
4355

44-
## Implemented Features:
45-
* JSON Editor with JSON Schema support for TD (Autocompletion, JSON Schema Validation)
56+
## Implemented Features in the ediTDor:
57+
* JSON editor with JSON Schema support for TD (autocompletion)
4658
* Add Property, Action, Event by wizard
4759
* Render TD to be more human readable
60+
* Validate JSON Syntax and JSON Schema for TD (JSONLD and Additional Validation for nested TMs will be implemented in the future)

0 commit comments

Comments
 (0)