The following steps assume that you already have a MarkLogic (v8) instance running. If you need help installing MarkLogic please read this guide.
To get up and running with this repository please follow these steps:
git clone https://github.com/marklogic/mlu-character-search.git
cd ml-rest
and checkconfig.json
. If you are happy with the details run the curl command fromcurl.txt
- Time to insert the data into the database. Open your MarkLogic Query Console (http://localhost:8000) and import the
StarWars Data Load.xml
workspace. Run the code from the workspace against the database created in the previous step - In the root of the project folder execute
npm install
- In the root of the project folder execute
bower install
- Check
settings.js
and make sure the details are correct and reflect what you have specified in step 2 node app.js