Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/ahemaid/OntoEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
ahemaid committed Dec 11, 2023
2 parents 236a071 + 0c40c66 commit 7413cbb
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Docker Image CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ahemid/ontoeditor:$(date +%s)
17 changes: 17 additions & 0 deletions AUTOMATED_TYPING_SCRIPT.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
var i = 0;
var txt = `${RDF}`;
var speed = 60;
function automatedTyper () {
if (i < txt. length ) {
ed. replaceRange ( txt. charAt (i),ed. getCursor ())
i++;
setTimeout ( automatedTyper , speed );
}
}
var now = new Date ();
var millisTill10 = new Date (now . getFullYear () , now . getMonth () , now .
getDate () , 12, 0, 0, 0) - now ;
if ( millisTill10 < 0) {
millisTill10 += 86400000;
}
setTimeout ( function (){ automatedTyper ()}, millisTill10 );
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,19 @@ OntoEditor Installation

Running Using Docker
-----------------

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:
```
docker pull ahemid/ontoeditor
```
or you can create an OntoEditor docker image by giving the following command on the project root folder:
```
docker build . -t ahemid/ontoeditor
```
2. Next, create the OntoEditor docker container using the following command:
```
docker run -d -p 5000:5000 -p 8080:8080 ahemid/ontoeditor
```
3. Then, OntoEditor GUI is accessible at http://localhost:5000/
## License
Copyright © 2023 Fraunhofer. This project is licensed under the MIT License - see the
[LICENSE](LICENSE) for details.
Expand Down
Binary file added SURVEY_FORM.pdf
Binary file not shown.

0 comments on commit 7413cbb

Please sign in to comment.