https://github.com/intermine/bluegenes-tool-store
BlueGenes' Tool API server. Used as dependency in BlueGenes but can also be used standalone.
https://github.com/intermine/bluegenes-tool-store
Last synced: 21 days ago
JSON representation
BlueGenes' Tool API server. Used as dependency in BlueGenes but can also be used standalone.
- Host: GitHub
- URL: https://github.com/intermine/bluegenes-tool-store
- Owner: intermine
- License: other
- Created: 2019-06-12T15:04:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-11T15:57:47.000Z (about 4 years ago)
- Last Synced: 2025-10-11T19:41:39.829Z (3 months ago)
- Language: Clojure
- Homepage:
- Size: 59.6 KB
- Stars: 2
- Watchers: 7
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://clojars.org/org.intermine/bluegenes-tool-store)
# 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](https://www.npmjs.com/) 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.
```clojure
;; 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
## System requirements
* Java 8-11 (we recommend [OpenJDK](https://adoptopenjdk.net/))
* Latest [Leiningen](https://leiningen.org/)