Backend and frontend code for the ORD search interface.
$ git clone [email protected]:open-reaction-database/ord-interface.git
$ cd ord-interface
$ pip install -e .
To build and launch the interface (available at http://localhost:5001
):
$ cd ord_interface
$ ./build_test_database.sh
$ docker build --file Dockerfile -t openreactiondatabase/ord-interface ..
$ docker compose up
To start a Flask server in development mode:
$ cd ord_interface
$ ./build_test_database.sh
# Start the database backend.
$ docker run -d -p 5432:5432 openreactiondatabase/ord-postgres:test
# Start the development server.
$ POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres FLASK_APP=interface.py FLASK_ENV=development python -m flask run