open-reaction-database / ord-interface

Search/browse interface and APIs for the Open Reaction Database
https://open-reaction-database.org
Apache License 2.0
19 stars 10 forks source link

ord-interface

Web interface and api for the Open Reaction Database

Structure

Key Caveats / Constraints

How to Deploy

...COMING SOON

Setup

1. Download and install

git clone git@github.com:open-reaction-database/ord-interface.git
cd ord-interface
# If you are running on Apple silicon, use `conda install postgresql` instead.
conda install -c rdkit rdkit-postgresql
pip install -e '.[tests]'

2. Set up and run the API

Option 1: Docker

cd ord_interface
./build_test_database.sh
# If you are running on Apple silicon, append `--build-arg="ARCH=aarch_64"` to the next command.
docker build --file Dockerfile -t openreactiondatabase/ord-interface ..
docker compose up

Option 2: Local

cd ord_interface/api
ORD_INTERFACE_TESTING=TRUE fastapi dev main.py --port=5000

3. Set up and run the Vue SPA