Liking cljdoc? Tell your friends :D

Configuring BlueGenes

Environment variables

EnvvarDescriptionDefault
SERVER_PORTPort to be used by BlueGenes web server5000
LOGGING_LEVELMinimum level for logginginfo
GOOGLE_ANALYTICSGoogle Analytics tracking IDnil
BLUEGENES_TOOL_PATHDirectory on server where BlueGenes tools are installed./tools
BLUEGENES_DEPLOY_PATHCustom URL path to host BlueGenes. Must start with / and not end with /, e.g. /bluegenes. If you wish to host at root, set to nil.nil
BLUEGENES_BACKEND_SERVICE_ROOTOverride BLUEGENES_DEFAULT_SERVICE_ROOT for backend API requests (usually an internal address)nil
BLUEGENES_DEFAULT_SERVICE_ROOTDefault InterMine service to run API requests againsthttps://www.flymine.org/flymine
BLUEGENES_DEFAULT_MINE_NAMEMine name to display for default mineFlyMine
BLUEGENES_DEFAULT_NAMESPACENamespace of the default mineflymine
BLUEGENES_ADDITIONAL_MINESAdditional mines managed by this BlueGenes instance[]
HIDE_REGISTRY_MINESDisable acquiring and displaying mines from the public InterMine registryfalse

How to configure

BlueGenes supports the many methods of specifying configuration keys provided by Yogthos' config. The configuration keys listed above can be specified in uppercase or lowercase, and with dashes, underscores or periods as separators.

Configuration via config.edn files

Copy and paste config/defaults/config.edn to config/dev/config.edn or config/prod/config.edn and tweak it to match your preferences. The correct config file will be used depending on if you start BlueGenes intended for development or for production. Note that config/defaults/config.edn will be used when you build an uberjar or docker image, unless you use lein with-profile prod uberjar to bundle config/prod/config.edn instead.

Analytics (optional)

For now, the only supported statistics service is Google analytics. If you wish to use this service, configure your domain and then add your Google Analytics ID using the GOOGLE_ANALYTICS key listed above.

Can you improve this documentation? These fine people already did:
uosl, Leandro Doctors & Herald
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close