FAIR-CA-indicators / fair-ca-indicators-backend

Apache License 2.0
0 stars 0 forks source link

FAIR Combine automated evaluation

Local installation

Requirements: python3.9, redis

  1. Install the requirements
    python -m pip install -r requirements.txt
  2. In another terminal, run Redis
    redis-stack-server
  3. Run the local server:
    uvicorn app.main:app --reload

The documentation is available at http://localhost:8000/docs (in SwaggerUI format) and at http://localhost:8000/redoc (in ReDoc format)

Main page (http://localhost:8000) redirects towards the documentation in ReDoc format.

Docker installation

Requirements: Docker needs to be installed

  1. Run docker-compose
    docker-compose up -d

Endpoints are accessible at http://localhost:8000.

If you have redis-cli or RedisInsight installed, the redis endpoint can be accessed at http://localhost:6379