Skip to content

Commit 7413cbb

Browse files
committed
2 parents 236a071 + 0c40c66 commit 7413cbb

File tree

4 files changed

+48
-1
lines changed

4 files changed

+48
-1
lines changed

.github/workflows/docker-image.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Build the Docker image
18+
run: docker build . --file Dockerfile --tag ahemid/ontoeditor:$(date +%s)

AUTOMATED_TYPING_SCRIPT.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
var i = 0;
2+
var txt = `${RDF}`;
3+
var speed = 60;
4+
function automatedTyper () {
5+
if (i < txt. length ) {
6+
ed. replaceRange ( txt. charAt (i),ed. getCursor ())
7+
i++;
8+
setTimeout ( automatedTyper , speed );
9+
}
10+
}
11+
var now = new Date ();
12+
var millisTill10 = new Date (now . getFullYear () , now . getMonth () , now .
13+
getDate () , 12, 0, 0, 0) - now ;
14+
if ( millisTill10 < 0) {
15+
millisTill10 += 86400000;
16+
}
17+
setTimeout ( function (){ automatedTyper ()}, millisTill10 );

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,19 @@ OntoEditor Installation
3030

3131
Running Using Docker
3232
-----------------
33-
33+
1. You can also run OntoEditor using docker, If you have it installed on your machine, otherwise, you use [this](https://docs.docker.com/engine/install/) to install docker. Once you have docker, then you can issue the following command to download the OntoEditor docker image:
34+
```
35+
docker pull ahemid/ontoeditor
36+
```
37+
or you can create an OntoEditor docker image by giving the following command on the project root folder:
38+
```
39+
docker build . -t ahemid/ontoeditor
40+
```
41+
2. Next, create the OntoEditor docker container using the following command:
42+
```
43+
docker run -d -p 5000:5000 -p 8080:8080 ahemid/ontoeditor
44+
```
45+
3. Then, OntoEditor GUI is accessible at http://localhost:5000/
3446
## License
3547
Copyright © 2023 Fraunhofer. This project is licensed under the MIT License - see the
3648
[LICENSE](LICENSE) for details.

SURVEY_FORM.pdf

2.04 MB
Binary file not shown.

0 commit comments

Comments
 (0)