Nova Resource:Full-text-reference-tool

From Wikitech


Resource Type Resource Type::project
Project Name [[Project::full-text-reference-tool]]
Monitoring nagf
Admins {{#arraymap:User:fsainsbu,User:novaadmin,User:ocaasi|,|x|* Member::x|\n}}
Members {{#arraymap:User:fsainsbu,User:novaadmin,User:ocaasi|,|x|* Member::x|\n}}

Documentation

{{#formlink:form=Nova Project Documentation |target=Nova Resource:Full-text-reference-tool/Documentation |link text=Edit documentation }}

Full-text-reference-tool

Description

[[Description::This tool draws on the OCLC KnowledgeBase API [[1]] to send citations as a structured query to a link resolver that checks which sources an editor has access to based on their ip address or institutional affiliation. It returns the best link which leads as close as possible to the sources prioritizing results based a) it's held at a library where they have access; b) there's an open access copy; c) there's a link resolver which can help them access it.
*Code repository (GitHub): https://github.com/nischayn22/Wikipedia_Library
*Testing: https://en.wikipedia.org/wiki/Wikipedia:TWL/OCLC/Eswitch/Testing2
*Adding instance: https://wikitech.wikimedia.org/w/index.php?title=Special:NovaInstance&action=create&project=full-text-reference-tool&region=eqiad
*Privacy disclosure: https://docs.google.com/document/d/1ZyDd8xzroydGo_et2pl6SyqvSuTgxvqM4e1G9MhV904/edit#heading=h.gjdgxs

Doing now... creation of the puppet manifest for installing an apache server, javascript language support...]]

Purpose

Purpose::Link Wikipedia references to full text sources

Anticipated traffic level

Anticipated Traffic Level::100-1000 hits per day

Anticipated time span

Anticipated Time Span::indefinite

Contact address

Contact Address::jorlowitz@gmail.com

Willing to take contributors or not

willing

Subject area narrow or broad

narrow


Sever documentation

Set up for fulltext reference tool. by user:fsainsbu This is an open stack system. My previous access to bastion for the Tasmania project was reused to give me access to creating instances in the open stack interface@theKetek.Wikimedia.org. I originally created a small instance with the Ubuntu for Trusty called NOVA. After configuring ~/.ssh/config to allow proxy ssh sites through bastian host I deleted the NOVA instance. I have created a security group with web with port 80 opened. I next created fulltext with IP address 10.68.17.235 for use as a web hosts Ike previous two creation

Once the hosts DNS information is propagated to the Internet I should be able to go to http://fulltext.eqiad.wmflabs.org/ as a web address. I am able to SSH to the host I'll await the files that need to be deployed against the website.

One JavaScript file to deploy:

http://fulltext.wmflabs.org/Wikipedia_Library/coins.js sudo -s apt-get install apache2

cd /var/www/html

git clone url..


https://wikitech.wikimedia.org/wiki/Proxy fulltext.wmflabs.org http://fulltext.eqiad.wmflabs:80

Read: http://programmers.stackexchange.com/questions/200847/versioning-javascript-files-in-a-web-app and respond if Nischay will use this technique, and some idea of push or pull for git repository.

Issues with IP resolution at OCLC require pre registration at http://worldcat.org/config​.

Test using OCLC IP at http://fulltext.wmflabs.org/Wikipedia_Library/frank.js run in console on https://en.wikipedia.org/wiki/Wikipedia:TWL/OCLC/Eswitch/Testing2 Without OCLC ip i.e. pre registration at http://worldcat.org/config​. has occurred. http://fulltext.wmflabs.org/Wikipedia_Library/jake.js run in console on https://en.wikipedia.org/wiki/Wikipedia:TWL/OCLC/Eswitch/Testing2

Server admin log

September 20

  • 14:45 andrewbogott: moved fulltext-pup to virt1009


Instances for this project

{{#ask:Resource Type::instance[[Project::full-text-reference-tool]] |?Instance Type |?Image Id |?Public IP |?Number of CPUs |?RAM Size |?Amount of Storage |?Modification date |mainlabel=FQDN |format=broadtable |limit=20 |order=DESC |sort=Modification date |offset=0 }}