opentargets / standalone-deployment-platform

Standalone local deployment for Open Targets Platform
Apache License 2.0
4 stars 1 forks source link

Collector scripts #1

Closed jdhayhurst closed 1 year ago

jdhayhurst commented 1 year ago

This is "working" but here are the caveats:

  1. The data images are relatively large for local use. I got to 83GB after downloading the source files and unpacking.
  2. It takes a while to download the data images from the FTP server.
  3. I was not able to run Elastic with the 32g JVM settings (I think because my machine has only 16G). I could also not get it to start with 16G. So I removed the JVM settings and it starts. However...
  4. If you request something very taxing from Elastic, it crashes...as you might expect.
jdhayhurst commented 1 year ago

I'd suggest that we make the CORS configurable here https://github.com/opentargets/ot-ai-api/blob/a611378c589e71da0ed65bf9934b505461aa4c27/app.js#L24 to allow customisable origins. Otherwise we can start in "development" mode, but then we also have to pass in an API key for wandb. I think for the purposes of this repository, enabling anyone to run the platform, we need to be able to configure that CORS policy.