Giter Site home page Giter Site logo

bluegenes-tool-store's Introduction

Clojars Project

BlueGenes Tool Store

Development server

lein dev

Production server

lein prod

Deploying to Clojars

lein deploy

Initialising tools

The first time you start bluegenes-tool-store, all npmjs packages under the scope intermine with the keyword bluegenes-intermine-tool will be downloaded and their tool installed (for further tool management, use the BlueGenes interface).

To replicate this behaviour in a project where bluegenes-tool-store is used as a dependency, you need to add the following function call to your initialisation code.

  ;; Add the require to your ns declaration.
  (:require [bluegenes-tool-store.tools :as tools]))

    ;; In your initialisation code.
    (tools/initialise-tools)

Tool management via CLI

Note: The tools CLI doesn't give very user-friendly feedback, and is only meant as a temporary solution for older InterMine instances which don't support tool management via the BlueGenes interface due to security reasons.

If you still wish to use the tools CLI, run the following command for a usage guide.

lein tools help

If bluegenes-tool-store is used as a dependency in a different leiningen project, you can still use the tools CLI by adding "tools" ["run" "-m" "bluegenes-tool-store.tools"] to the :alises map in your project.clj.

Note on using OpenJDK 9

If you use OpenJDK 9, you will need to add the java9 profile to your leiningen task. You can do this by adding with-profile +java9 to your command, like the following:

lein with-profile +java9 <YOUR_TASK>

System requirements

bluegenes-tool-store's People

Contributors

heralden avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bluegenes-tool-store's Issues

Bundle isn't served when package.json name doesn't match folder and tools.edn name

This doesn't happen with regular use since the folder name will always be equal to the package.json name, and tools.edn will always be equal to the folder name.

However, when testing locally by using symlinks you may end up with a folder and tools.edn name that differs from the package.json name. This is also difficult to debug, since it's obvious to check that the tools.edn and folder name match, but not obvious to check the package.json name.

We should use the tools.edn name when determining the path to the bundle instead, so a differing package.json name won't have any effect.

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.