This applies primarily to standalone BlueGenes. See also /config/dev/README.md
Open src/cljc/bluegenes/mines.cljc and copy the value of the sample-mine
variable into the mines
hashmap. Change the key to something unique (:yourmine
) and edit the default values appropriately. Be sure to edit the {:id ...} value to reflect the key you used for :yourmine
(def mines {:humanmine {...}
:yourmine {:id :yourmine
...})
This configuration step will go away once we make BlueGenes start using the registry.
Open src/cljs/bluegenes/db.cljs
and edit the :current-mine
hashmap value to the keyword of a mine in mines.cljc
(see above).
(def default-db
{...
:mine-name :yourmine
...}
Please note that you will have to recompile the application for the changes to take effect (see below). Also, may need to clear your local storage for the :default-mine
to take effect. You can do this by visiting the web application, clicking the cog on the top right, selecting Debug, and then clicking the button to delete local storage.
If you wish to track pages hits, set up Google analytics for your domain, then add your google analytics id to your config.edn files (mentioned above) or environment variables. This is completely optional.
{:google-analytics "UA-12345678-9"}
``
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close