Giter Club home page Giter Club logo

tropy's Introduction

Tropy

Build Status Windows Build Status Coverage Status

Bring order to your research โ€” use the power of Tropy to organize and describe your research photos so you can quickly find your sources whenever you need them.

Visit tropy.org to learn more or follow @tropy on Twitter for important announcements. To get started, download the latest version of Tropy for your platform, check out the user's manual and join the discussion on the forums.

If you are interested to work on Tropy or create your own builds, please find more details below. Happy hacking!

Install from Source

Install the latest version of Node.js (at least the version that ships with the current Electron release) and all requirements needed to use node-gyp on your platform.

On Linux you may need to install some packages in addition to node-gyp's requirements. For example:

# On Arch Linux
$ sudo pacman -Sy fftw orc librsvg

# On Debian
$ sudo apt-get install liborc-0.4-0 libfftw3-bin librsvg2-bin

# On CentOS
$ sudo yum install fftw3 orc librsvg2 glib2-devel

Before installing Tropy's dependencies, set the environment variable SHARP_DIST_BASE_URL or the sharp_dist_base_url npm config option to point to the base URL for Tropy's pre-compiled libvips archives:

$ npm config set sharp_dist_base_url "https://github.com/tropy/sharp-libvips/releases/download/v8.8.1-tropy/"

Additionally, if you have libvips installed locally (and don't wish Tropy to be linked against it), set the SHARP_IGNORE_GLOBAL_LIBVIPS environment variable.

Finally, clone this repository and install all of Tropy's dependencies:

# Install native modules first, without building, them. They will
# be patched and linked against Electron by our rebuild script later!
$ npm install sharp sqlite3 --ignore-scripts --no-save --no-package-lock
$ npm install

To test that everything is set up correctly, run:

$ npm test

Creating Builds

To create a dev-build for your current platform run npm run build at the root of the repository. This will create a dev-build of Tropy in the dist folder.

Running in Dev-Mode

Alternatively, you can start Tropy in dev-mode directly from the root of the repository, by running npm start.

tropy's People

Contributors

inukshuk avatar flachware avatar styts avatar earlyriser avatar abbymullen avatar stakats avatar nmonteix avatar dependabot[bot] avatar hamogu 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.