Nonsecure Deployment

Docker Setup

  1. Install both Docker and Docker-Compose on your machine. Go here to install Docker,
    find your OS and follow instructions. Go here to install Docker Compose.
  2. Run git clone https://github.com/ClarityNLP/ClarityNLP [folder-name]
  3. Initialize submodules git submodule update --init --recursive
  4. Add .env file, use .env.example as a start:
    cd [folder-name]
   touch .env
   cat .env.example >> .env
  1. Build images and run containers docker-compose -f docker-compose.prod.yml up --build -d

Secure Deployment

Updating to download latest changes

From the command line, run:

git pull
git submodule update --recursive