-
Notifications
You must be signed in to change notification settings - Fork 3
Running
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!).
-
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 &
-
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
-
Change to the repository subdirectory.
$ cd repository
-
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 &
-
Change directories to the search directory:
cd ../search