Changes
Page history
alexlag created page: docker
authored
Apr 03, 2015
by
Aleksey Laguta
Show whitespace changes
Inline
Side-by-side
docker.markdown
0 → 100644
View page @
c51fbc42
You can use Docker to run AnnotameLE.
### 1. Install Docker
Follow instructions in one of the guides
[
here
](
https://docs.docker.com/installation/#installation
)
.
I assume _docker_ as base command further, but you might be to use _sudo docker_
### 2. Clone _annotamele_ repo
Clone AnnotameLE repo
```
git clone http://gitlab.at.ispras.ru/annotame/annotamele.git
```
### 3. Configuration
Copy/edit configuration files in docker/ subdirectory.
```
cd annotamele
nano docker/answer_types.json
nano docker/dataset.json
```
_answer_
types.json_ contains array of questions to be asked by system
_dataset.json_
contains data to be marked up. _type_ field is number from _answer_types_
### 4. Build image
```
docker build -t annotamele .
```
This should take some time.
### 5. Run Docker container
```
docker run -d -p 80:3000 annotamele
```
you can pick desired port on host machine, 80 is default for http requests. AnnotameLE is set to expose 3000 port.
\ No newline at end of file