Topic on Talk:Citoid

Jump to navigation Jump to search
Summary by Gryllida

Mvolz clarified why older versions of node or translation-server were used for installing citoid - for the tests to pass.

Gryllida (talkcontribs)

The install instructions are confusing. There is

"sudo apt-get install nodejs npm

nodejs --version # should now print v0.10.x Note: not on Ubuntu Server 12.04 LTS, you end up with v0.6.x" at [[Citoid#Installation]]. On my Debian I get v4.8.4 ...

I would be ok with this, maybe it works but then I read the next part which says "Checkout the older version: cd translation-server git checkout 8d6eae22"

Is this relevant today?

Mvolz (WMF) (talkcontribs)

Nodejs --version - yes, definitely outdated, I'll fix that.

As for translation-server, unfortunately, yes that is the equivalent to what we're running in production. For most purposes though, you can just use the most recent version. (It's just that the citoid tests are run with this older version, so you might get some failing tests so if you're trying to run them.) You can use the official translation-server installation directions from Zotero otherwise: https://github.com/zotero/translation-server

Gryllida (talkcontribs)

Thanks that's great.