Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:citation_styles:citeproc-node [2012/12/12 11:05] – Fix repo pointer tfmorris | dev:citation_styles:citeproc-node [2017/11/27 04:21] (current) – Remove Zotero 5 warning bwiernik | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
====== Setting up the standalone citeproc-node server ====== | ====== Setting up the standalone citeproc-node server ====== | ||
Line 40: | Line 41: | ||
is in your path, of course): | is in your path, of course): | ||
- | <code bash> | + | <code bash> |
... | ... | ||
Error: Unable to load shared library / | Error: Unable to load shared library / | ||
Line 55: | Line 56: | ||
node-waf distclean && | node-waf distclean && | ||
- | (If the command gives an error the first time, try it again.) | + | If the command gives an error the first time, try it again. |
+ | If that does not help, try this while you are still in the contextify directory: | ||
+ | |||
+ | <code bash> | ||
+ | cd .. && rm -r contextify | ||
+ | git clone https:// | ||
+ | cd contextify && npm rebuild</ | ||
----- | ----- | ||
Line 63: | Line 71: | ||
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> | + | <code bash> |
If all is well, you will see: | If all is well, you will see: | ||
Line 78: | Line 86: | ||
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): | ||
- | < | + | < |
----- | ----- |