Hub
HUMAN Website
  • HUMAN Protocol Document Hub
  • HUMAN Tech Docs
    • Architecture
      • Components
        • Smart Contracts
          • Escrow.sol
          • EscrowFactory.sol
          • Contract Addresses
        • Dashboard
        • Job Launcher
          • Standard
          • HUMAN Job Launcher
        • Exchange Oracle
          • Standard
        • Recording Oracle
          • Standard
        • Reputation Oracle
          • Standard
          • HUMAN Reputation Oracle
        • HUMAN App
        • Annotation Tools
          • CVAT
          • hCaptcha
          • Fortune (test)
      • Protocol Features
        • Routing Protocol
        • Abuse System
        • Qualifications System
        • Governance
    • SDK
    • Tutorials
      • Job Requesters
        • Signup
        • Launch Jobs
          • Fortune
      • Workers
        • Sign Up
        • KYC Verification
        • Wallet address registration
      • Operators
        • Sign Up
      • HMToken
        • Bridge
          • Ethereum <--> Polygon
          • Ethereum <--> Binance Smart Chain
    • Developer
      • Initial setup
      • Running HUMAN Protocol with CVAT
        • Getting started
        • Running CVAT
        • Running HUMAN Protocol
          • Reputation Oracle
          • HUMAN App
          • Job Launcher
          • CVAT oracles
        • Setting up Oracles
        • Setting up Worker user
        • Launch simple CVAT job
      • FAQ
  • Routing Protocol Tokenomics
    • Status
    • Premise
    • Token design
    • Proposition for a governance minimization model
    • Liquidity provision /market making
    • Alternate Conviction voting model
    • Voting model
    • The HUMAN-RP Magistrate
    • Voting process
    • Security
    • Policies
    • Slashing and Soft-freezing
    • Staking for tool vendors
  • Grants Program
    • Introduction and Program Overview
    • Application Process
      • Application Process of the HUMAN Grants Program
    • Funded Projects
    • Community
    • Help & FAQs
    • Terms and condition
  • Guide to the HUMAN Protocol SDK's
Powered by GitBook
LogoLogo

© 2023 HPF. HUMAN Protocol® is a registered trademark

On this page
  • Preparing .env files
  • Creating infra and building images
  • Creating network mappings

Was this helpful?

  1. HUMAN Tech Docs
  2. Developer
  3. Running HUMAN Protocol with CVAT

Getting started

On this page you will find the first steps to run HUMAN Protocol with CVAT locally. These steps are needed only for first-time setup.

Everything you need to spin up services is located in scripts/cvat folder, so let’s make it our working directory:

cd ./scripts/cvat

Preparing .env files

Before you build or run any services, you need to prepare .env files and fill them with valid values. Review files in env-files folder. There are sample .env files that contain minimal set of environment variables to run services (to get the full list for some service - check its compose definition), but you have to put the actual values instead of replace_me entries. For other variables you can set your overrides if needed.

In case you don't know how to generate some values - you can check FAQ.

Once you finish - run next command:

make copy-env-files

and it will copy .env files with provided values to necessary locations.


Creating infra and building images

In order to make sure that all necessary infra is set up and services can be started, build the compose setup:

docker-compose -f docker-compose.local.yml \
    --env-file .env.compose.local \
    up --no-start

The step above ensures that human-cvat-bridge network (that is needed to have stable communication between HUMAN Protocol and CVAT) is created.

First-time run can take some time to build docker images for all services, don't expect it to be quick.


Creating network mappings

In order to easily access some links from the applications in your browser, you should create network mappings in your /etc/hosts file:

  • 127.0.0.1 minio

  • 127.0.0.1 cvat-lb

PreviousRunning HUMAN Protocol with CVATNextRunning CVAT

Last updated 1 month ago

Was this helpful?

After you save the changes - flush the DNS cache if needed ()

How to clear the DNS cache on my PC?