The editor and client interfaces already share their database backend, so it makes sense to merge their codebases and reduce the maintenance burden. Also the testing procedures need some serious work.
Add a combined Dockerfile
Use flask blueprints to keep the editor and client APIs separate (and allow users to easily disable one or the other)
Add a script for creating a database for testing
Test with:
$ cd ord_interface
$ ./build_test_database.sh
$ docker build --file Dockerfile -t openreactiondatabase/ord-interface .. && docker compose up
TODO:
Remove no-longer-needed code, such as the entire ord_interface/docker/ directory! (For later PRs)
The editor and client interfaces already share their database backend, so it makes sense to merge their codebases and reduce the maintenance burden. Also the testing procedures need some serious work.
Test with:
TODO:
ord_interface/docker/
directory! (For later PRs)