- Signal Annotation Tool (this repository)
- Signal Annotation Tool (Client)
- Signal Annotation Tool (Server)
This repository serves as a parent module for our client and server implementation. git clone, therefore, requires --recurse-submodules flag.
$ git clone --recurse-submodules https://github.com/phev8/signal-annotation-toolChange SAT_HOSTNAME entry in the .env.
$ cd signal-annotation-tool
$ nano .envSAT_HOSTNAME=example.com$ cd signal-annotation-tool
$ (sudo) docker-compose pull
$ (sudo) docker-compose upWhen the process is finished, open your browser and go to localhost:4200.
Alternatively you can build containers locally:
docker-compose up --buildWARNING: This will clear any data you had in your mongodb instance. If you wish to save persistent data, try this link (TODO: add a link describing how to backup docker volumes)
If you had a previous version running in your system you might want to remove previous containers, networks and volumes.
$ docker-compose downNOTE: The containers will attempt to use port 27017 for Mongo, port 4200 for the Frontend and port 3000 for the Backend. Depending on your system you might want to change these values in docker-compose.yaml.