Skip to content

Improve installation #771

@Didayolo

Description

@Didayolo

Several issues are encountered when following this installation guide: https://github.com/codalab/codabench/wiki/Codabench-Installation

1. Email confirmation

  • Improve the documentation.

When deploying a local instance, as the email server is not configured by default, it is tricky to validate user accounts.

One work-around is to:

  1. Find the confirmation link in the Django logs using docker-compose logs -f django
  2. Replace example.com by localhost to open it on the browser.

(Another work-around is to manage the account by hand in the Django container.)

2. Problem with storage

/usr/bin/mc policy set download minio_docker/$AWS_STORAGE_BUCKET_NAME;

3. Step "run the following commands"

Maybe we just let it as it is.
At the end of the guide, we manually create the database and collect the static resources.
Can't this be handled directly by the docker-compose up -d command?

4. Endpoint URL

  • Document this troubleshooting.

Some people (@bbearce) have to manually change the endpoint URL to have it working:

  1. docker-compose logs -f minio
  2. Grab first of these:
minio_1           | Browser Access:
minio_1           |    http://172.27.0.5:9000  http://127.0.0.1:9000
  1. Set AWS_S3_ENDPOINT_URL=http://172.27.0.5:9000

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugDocumentationP1High prioritySetupAnything related to the deployment of CodaLab

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions