Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
dev:citation_styles:citeproc-node [2012/12/12 11:05] – Fix repo pointer tfmorrisdev:citation_styles:citeproc-node [2013/05/24 10:34] – citeServer.js had moved to a sub-directory pietsch
Line 40: Line 40:
 is in your path, of course): is in your path, of course):
  
-<code bash>node citeServer.js+<code bash>node ./lib/citeServer.js
 ... ...
 Error: Unable to load shared library /blah/blah/contextify.node Error: Unable to load shared library /blah/blah/contextify.node
Line 63: Line 63:
 Return to the top of the citeproc-node directory and attempt to run the server (again assuming that the node binary is in your path): Return to the top of the citeproc-node directory and attempt to run the server (again assuming that the node binary is in your path):
  
-<code bash>node citeServer.js</code>+<code bash>node ./lib/citeServer.js</code>
  
 If all is well, you will see: If all is well, you will see:
Line 78: Line 78:
 Now to test the server using the sampledata.json file provided in the citeproc-node sources. Try posting it to your server (which you should still have running): Now to test the server using the sampledata.json file provided in the citeproc-node sources. Try posting it to your server (which you should still have running):
  
-<code>curl --header "Expect:nothing" --header "Content-type: application/json" --data @sampledata.json -X POST http://127.0.0.1:8085?responseformat=html\&style=mla</code>+<code>curl --header "Expect:nothing" --header "Content-type: application/json" --data @sampledata.json -X POST http://127.0.0.1:8085?responseformat=html\&style=modern-language-association</code>
  
 ----- -----
dev/citation_styles/citeproc-node.txt · Last modified: 2017/11/27 04:21 by bwiernik