Skip to content
Jeremy Nelson edited this page Mar 17, 2015 · 1 revision

Running BIBFRAME Datastore

To manually launch the BIBFRAME Datastore, there are two options depending if the Semantic Server is installed or not (we highly recommend that you do!).

Option One (Semantic Server):

  1. Launch the BIBFRAME Rest API (which extends the Semantic Server API) by running from the base directory, either of these commands:

    python app.py (Run in development mode)

    OR

    uwsgi -s /tmp/bfdatastore.sock -w app:semantic_server --chmod-socket=666 &

  2. Using CURL or other tool, (HTTPie is a good alternative), issue an HTTP POST request to the running semantic server running on default port of 18150 with the services route. Example below using httpie:

    http POST :18150/services

Option Two

  1. Change to the repository subdirectory.

    $ cd repository

  2. Run the following command (change the filepath to match your OS and system) to launch Fedora using Java:

    java -jar -server -Dfcrepo.modeshape.configuration=file:/usr/local/bibframe-catalog/fedora/repository.json -Xmx1G fcrepo-webapp-4.0.0-jetty-console.war --headless &

  3. Change directories to the search directory:

    cd ../search

Clone this wiki locally