NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

The CodaLab documentation leaves one final step out. We NEED to enable CORS. Click CORS in the above image and add these settings (https://stackoverflow.com/questions/50785255/azure-storage-got-403-url-cors-not-enabled-or-no-matching-rule-found-for-thi):

If you don’t, uploading a competition will give you CORS errors in the browser:

Once applied uploading works:

Customizations

Custom Logo

Follow To create a custom logo, follow the Codalab instructions for creating a custom logo but note that you must be the super user to log in to the customizer. You must log in to the database as the super user to use the customizer module. Django doesn’t have a super user by default, so you must create it. To do so, create a secure connection to your VM the virtual machine that hosts the your site and run this the following command:.

Code Block
$ docker exec -it django python manage.py createsuperuser


Now use CodaLabs instructions You can now return to the CodaLabs instructions and navigate to http://your-instance.com/customizer. Log in with the newly made credentials. Choose your super user credentials and choose a new file to be as your logo.