-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
BugDocumentationP1High priorityHigh prioritySetupAnything related to the deployment of CodaLabAnything related to the deployment of CodaLab
Description
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:
- Find the confirmation link in the Django logs using
docker-compose logs -f django - Replace
example.combylocalhostto open it on the browser.
(Another work-around is to manage the account by hand in the Django container.)
2. Problem with storage
- We fixed MinIO buckets creation (Wait until MinIO is up before proceeding #783)
- We need to fix the policy setup to have directly the "read/write" policy on the public bucket (to fix the issue with logos not displayed). The fix: Use "mc anonymous set" instead of "mc policy set" for public bucket policy #786
Line 76 in 6bf601a
| /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:
docker-compose logs -f minio- Grab first of these:
minio_1 | Browser Access:
minio_1 | http://172.27.0.5:9000 http://127.0.0.1:9000
- Set
AWS_S3_ENDPOINT_URL=http://172.27.0.5:9000
Metadata
Metadata
Assignees
Labels
BugDocumentationP1High priorityHigh prioritySetupAnything related to the deployment of CodaLabAnything related to the deployment of CodaLab