git clone git@github.com:enactic/openeval-web.git
cd openeval-webFrom here on, work in the openeval-web directory.
cp example.env .envPlease configure the following variables according to the comments in .env.
GITHUB_CLIENT_IDGITHUB_CLIENT_SECRETSECRET_KEYHMAC_KEY
For environments launched with Docker Compose, variables starting with POSTGRES_ can remain unchanged.
docker compose run --rm app alembic -c /src/app/alembic.ini upgrade headdocker compose up -dThe server has started and can be accessed at http://localhost:8000/ .
docker compose exec app /src/scripts/create_tasks.py /src/app/tests/fixtures/task.jsonThree tasks for testing will be created.
$ docker compose exec app /src/scripts/create_api_keys.py test-key
openeval-key-xxxAn API key is generated and displayed on stdout, use it when accessing the API.