Skip to content

Commit

Permalink
Updated installer, removed V6 mentions, Node.js 20 as requirement, up…
Browse files Browse the repository at this point in the history
…dated CODEOWNERS
  • Loading branch information
u-hubar committed Oct 30, 2024
1 parent 9e15d91 commit 9310773
Show file tree
Hide file tree
Showing 18 changed files with 143 additions and 1,043 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @branarakic @djordjekovac @NZT48 @zeroxbt @u-hubar
* @branarakic @u-hubar @Mihajlo-Pavlovic
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Bug report for v6 ot-node
name: Bug report for V8 ot-node
about: Create an issue report
title: ''
labels: ''
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:
id: nodejs
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: npm

- name: Cache node modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: update-cache
on:
push:
branches:
- v6/develop
- v8/develop

concurrency:
group: update-cache-${{ github.ref }}
Expand Down
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ By their nature, Knowledge Assets are semantic resources (following the W3C Sema

<br/>

- **NodeJS** 16.x (ideally, 16.16)
- **npm** >= 8.0.0
- **Node.js** 20.18
- **npm** 10.8.2

---

Expand All @@ -182,6 +182,12 @@ git clone https://github.com/OriginTrail/ot-node.git
cd ot-node
```

Switch the branch to `v8/develop`:

```bash
git checkout v8/develop
```

Install dependencies using `npm`:

```bash
Expand Down Expand Up @@ -210,18 +216,18 @@ To use default Triple Store (`blazegraph`), download the exec file and run it wi
java -server -Xmx4g -jar blazegraph.jar
```

Then, depending on the OS, use one of the scripts in order to run the local network with provided number of nodes (minimal amount of nodes should be 12):
Then, depending on the OS, use one of the scripts in order to run the local network with provided number of nodes (minimal amount of nodes should be 6):

**MacOS**

```bash
bash ./tools/local-network-setup/setup-macos-environment.sh --nodes=12
bash ./tools/local-network-setup/setup-macos-environment.sh --nodes=6
```

**Linux**

```bash
./tools/local-network-setup/setup-linux-environment.sh --nodes=12
./tools/local-network-setup/setup-linux-environment.sh --nodes=6
```

---
Expand All @@ -232,7 +238,7 @@ bash ./tools/local-network-setup/setup-macos-environment.sh --nodes=12

<br/>

In order to run a DKG node on the **Testnet** or **Mainnet**, please read the official documentation: https://docs.origintrail.io/decentralized-knowledge-graph-layer-2/node-setup-instructions/setup-instructions-dockerless
In order to run a DKG node on the **V8 Testnet**, please read the official documentation: https://docs.origintrail.io/dkg-v8-upcoming-version/run-a-v8-core-node-on-testnet

---

Expand All @@ -251,12 +257,12 @@ From an architectural standpoint, the SDK libraries are application interfaces i

The OriginTrail SDK libraries are being built in various languages by the team and the community, as listed below:

- dkg.js - JavaScript SDK implementation
- [Github repository](https://github.com/OriginTrail/dkg.js)
- [Documentation](https://docs.origintrail.io/decentralized-knowledge-graph-layer-2/dkg-sdk/dkg-v6-js-client)
- dkg.py - Python SDK implementation
- [Github repository](https://github.com/OriginTrail/dkg.py)
- [Documentation](https://docs.origintrail.io/decentralized-knowledge-graph-layer-2/dkg-sdk/dkg-v6-py-client)
- dkg.js - V8 JavaScript SDK implementation
- [Github repository](https://github.com/OriginTrail/dkg.js/tree/v8/develop)
- [Documentation](https://docs.origintrail.io/dkg-v8-upcoming-version/v8-dkg-sdk/dkg-v8-js-client)
- dkg.py - V8 Python SDK implementation
- [Github repository](https://github.com/OriginTrail/dkg.py/tree/v8/develop)
- [Documentation](https://docs.origintrail.io/dkg-v8-upcoming-version/v8-dkg-sdk/dkg-v8-py-client)

---

Expand Down
4 changes: 2 additions & 2 deletions docs/openapi/DKGv6.yaml → docs/openapi/DKGv8.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: DKGv6
description: DKG v6 API Collection.
title: DKGv8
description: DKG V8 API Collection.
version: 1.0.0
contact: {}
servers:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"info": {
"_postman_id": "550b0443-cd47-482a-9c56-2b1229422426",
"name": "DKGv6",
"description": "DKG v6 API Collection.",
"name": "DKGv8",
"description": "DKG V8 API Collection.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
Expand Down
4 changes: 2 additions & 2 deletions installer/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Installs the V6 Node
Installs the V8 Node

2. Login to the server as root. You __cannot__ use sudo and run this script. The command "npm install" __will__ fail.

3. Execute the following command:

```
cd /root/ && curl https://raw.githubusercontent.com/OriginTrail/ot-node/v6/release/mainnet/installer/installer.sh --output installer.sh && chmod +x installer.sh
cd /root/ && curl https://raw.githubusercontent.com/OriginTrail/ot-node/v8/release/testnet/installer/installer.sh --output installer.sh && chmod +x installer.sh
```

2 changes: 1 addition & 1 deletion installer/data/blazegraph.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#/lib/systemd/system/blazegraph.service

[Unit]
Description=OtBlazegraph - OriginTrail V6 Stage 1 Beta Node
Description=OtBlazegraph - OriginTrail V8 Node
Documentation=https://github.com/OriginTrail/ot-node
After=network.target

Expand Down
2 changes: 1 addition & 1 deletion installer/data/fuseki.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#/lib/systemd/system/fuseki.service

[Unit]
Description=OtFuseki - OriginTrail V6 Stage 1 Beta Node
Description=OtFuseki - OriginTrail V8 Node
Documentation=https://github.com/OriginTrail/ot-node
After=network.target

Expand Down
2 changes: 1 addition & 1 deletion installer/data/graphdb.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#/lib/systemd/system/graphdb.service

[Unit]
Description=GraphDB - OriginTrail V6 Stage 1 Beta Node
Description=GraphDB - OriginTrail V8 Node
Documentation=https://github.com/OriginTrail/ot-node
After=network.target

Expand Down
2 changes: 1 addition & 1 deletion installer/data/otnode.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#/lib/systemd/system/otnode.service

[Unit]
Description=OriginTrail V6 Node
Description=OriginTrail V8 Node
Documentation=https://github.com/OriginTrail/ot-node/
After=network.target graphdb.service blazegraph.service

Expand Down
113 changes: 0 additions & 113 deletions installer/data/template/.origintrail_noderc_one_click_mainnet.json

This file was deleted.

113 changes: 0 additions & 113 deletions installer/data/template/.origintrail_noderc_one_click_testnet.json

This file was deleted.

Loading

0 comments on commit 9310773

Please sign in to comment.