This web application provides a virtual research environment (VRE) that lets you collect, align and annotate bibliographical and biographical records from several online catalogs.
The VRE consists of separate backend and frontend applications. They are documented in more detail in their respective directories. To run them jointly during development, take the following steps:
When running with Docker for the first time, you need to take the following steps:
- Run
docker-compose up -d blazegraph. - Visit the Blazegraph web interface and create the
edpopandedpop_testingnamespaces, as explained in more detail in the backend README. Note that the URL of the web interface ends in/bigdatawhen running Docker.
From then on, running the application is just a single command:
docker-compose up -dYou can then access the application at localhost:8000. Manually refresh the browser to see code changes reflected.
You can still run all the other commands that are discussed in the backend and frontend READMEs. You just have to prefix them with docker-compose exec $SERVICE in order to execute them within the right container. The services are listed in the docker-compose.yml. For example, to create a Django superuser, run this:
docker-compose exec backend python manage.py createsuperuser- Make sure you have taken all preparation steps in the READMEs of both applications. Consult the
docker-compose.ymland theDockerfiles for recommended software versions. - Open a new terminal in the
frontenddirectory and runnpm run watch. - Open a new terminal in the
backenddirectory and runpython manage.py runserver. - Open
localhost:8000. - Manually refresh the browser to see code changes reflected.
Tests of both applications can be run at any time, independently from each other.