Git Product home page Git Product logo

wright-will / zotero Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juris-m/zotero

0.0 1.0 0.0 173.19 MB

Juris-M is a variant of the free and friendly Zotero research platform, with support for legal and multilingual materials.

Home Page: https://juris-m.github.io

License: Other

CSS 1.41% JavaScript 97.42% HTML 0.34% XSLT 0.22% Shell 0.17% Python 0.25% VBScript 0.02% SCSS 0.17%

zotero's Introduction

Juris-M

Build Status

Juris-M is a modified version of Zotero, with support for multilingual and legal citation styles.


From the Zotero README

Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.

Please post feature requests or bug reports to the Zotero Forums. If you're having trouble with Zotero, see Getting Help.

For more information on how to use this source code, see the Zotero wiki.


About this repository and its friends

This repository contains the core Juris-M code module, and a test suite to validate that both the original features of Zotero and the extended functionality of Juris-M are working correctly. If you are working with Juris-M code, you will use this repository for two purposes: to build the module for inclusion in a standalone client; and to run the test suite. Procedures for both are outlined below.

Cloning the repository

Several repositories are needed to build the Juris-M standalone client, so the keep things tidy, create an empty subdirectory, enter it, and clone this respository using commands like the following:

  prompt> mkdir jurism-repos
  prompt> cd jurism-repos
  prompt> git clone --recursive https://github.com/Juris-M/zotero.git

If (as I often do) you forget to include the --recursive option when cloning, pull in the submodules by entering the repository directory and issuing commands like the following:

  prompt> cd jurism
  prompt> git submodule init
  prompt> git submodule update --remote

The subdirectory will be called "zotero", but it will contain Juris-M source code.

node dependencies

To build the module, you will need to have recent versions of node and npm installed. The versions available through the package manager for your operation system will probably do the job. Once you have npm installed, set up the dependencies by executing the following command in this directory:

  prompt> npm install

After setting up the dependencies, you can build the module with this command:

  prompt> node ./scripts/build.js

The script should create a ./build subdirectory and populate it with the module code.

Running tests

The test suite was added to the upstream Zotero source repository at the threshold of Zotero 5.0. The tests have been adapted in the Juris-M repository to exercise the extended fields and other features needed to manage multilingual and legal references. Every test should pass.

To run tests, you will need a compatible version of Firefox on your system. The version that you need depends on your operating system.

(I think that these are right. If you have trouble working with any of them, let me know.)

Once you have a suitable Firefox in place, create a file at ./test/runtests-custom.sh with the following line, adjusting the path to point at the appropriate Firefox in your filesystem:

   FX_EXECUTABLE="/path/to/your/firefox"

Enter the ./test subdirectory, and try a test:

  prompt> ./runtests.sh -b notifierTest.js

The first time it is run, the runtests.sh script will download the pdftools bundle, after which the test should succeed. For full details on the use of the test runner, run the script with the -h option:

  prompt> ./runtests.sh -h

Building the standalone client

To build a running standalone client using the module code, you will clone two repositories as siblings (not children) to the jurism directory:

  prompt> git clone --recursive https://github.com/Juris-M/zotero-build.git
  prompt> git clone --recursive https://github.com/Juris-M/zotero-standalone-build.git

Build steps must be performed in each of these repositories to yield a client installer. See their respective README files for details.

zotero's People

Contributors

dstillman avatar simonster avatar fbennett avatar adomasven avatar aurimasv avatar avram avatar davidnortonjr avatar mcburton avatar erazlogo avatar julianonions avatar bdarcus avatar gracile-fr avatar inukshuk avatar stakats avatar rmzelle avatar tnajdek avatar adam3smith avatar mrtcode avatar zuphilip avatar mmoole avatar pmhm avatar f-mb avatar fredgibbs avatar bwiernik avatar petzi53 avatar mronkko avatar mikowitz avatar linuxmercedes avatar rsnape avatar retorquere avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.