Improve installation
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.com
bylocalhost
to 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 (#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: #786
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