Go to file
Navan Chauhan 32f98c232e added to gitignore 2020-09-08 15:13:03 +05:30
.github/workflows fixed typo 🤦‍♂️ 2020-07-07 11:43:40 +05:30
app Merge pull request #5 from navanchauhan/imgbot 2020-09-02 18:16:50 +05:30
lstm_chem added alpha model 2020-08-01 15:34:22 +05:30
misc added curie systemd file 2020-09-06 13:11:12 +05:30
tests updating test mail 2020-08-25 18:40:50 +05:30
.deepsource.toml Add .deepsource.toml 2020-06-25 12:53:58 +00:00
.gitignore added to gitignore 2020-09-08 15:13:03 +05:30
Aptfile linked directly to deb 2020-07-31 19:40:09 +05:30
Procfile Added v1 API 2020-07-12 21:37:37 +05:30
README.md added instructions in README and deleted misc file 2020-09-02 18:15:21 +05:30
api.py bumped runtime 2020-09-02 17:49:07 +05:30
requirements.txt updated dock docker 2020-09-02 17:25:51 +05:30
run.py make it better 2020-06-24 23:39:05 +05:30
runtime.txt bumped runtime 2020-09-02 17:49:07 +05:30

README.md

Curie-Web

Backend Tessts Database Tests DeepSource

Tested on:

  • macOS 10.15 (Catalina)
  • Ubuntu 20.04 - Raspberry Pi 4

Do Not Forget To Change DB Host configuration!

1. Installing Dependencies

1.1 Docker

Once you have installed docker, make sure to pull the following images (Otherwise, these will automatically get downloaded when you run the web-server)

  • navanchauhan/curie-cli (amd64/aarch64)
  • navanchauhan/usd-from-gltf (aarch64)
  • leon/usd-from-gltf (amd64)

1.2 PLIP

Install from pharmai/plip.

In case you have problems installing it, install it from the forked repo navanchauhan/plip

1.3 PyMOL with Python Bindings (version >= 2.0)

  • macOS users can use Homebrew to install it via brew install pymol

  • Users using apt can install it via sudo apt install pymol

1.4 Open-Babel (version >= 3.0)

macOS users can use Homebrew to install it via brew install open-babel

Users using apt can install it via sudo apt install openbabel python3-openbabel

2. Changing the Configuration

Replace the values in app/__init__.py, app/dock-single.py and app/dock-docker.py

3. Enabling LSTM Generator

Open app/views.py

Make sure you have installed Tensorflow. Replace the following:

tfWorking = 0

with

tfWorking = -1

4. Adding AR Model Support

Make sure you have PyMOL 2.0 or higher

Either download the precompiled binaries from COLLADA2GLTF or compile it on your own

Once you have the COLLADA2GLTF-bin file, run the following:

cp COLLADA2GLTF-bin /usr/local/bin/collada2gltf

Running

Without FastAPI

gunicorn api:app -b "0.0.0.0:7589"

With FastAPI

gunicorn api:app -k uvicorn.workers.UvicornWorker -b "0.0.0.0:7589"