You can run bluegenes locally for development purposes. Here's what the local setup should look like.
node -v
). We recommend installing node using nvmnpm install
We use less to write our styles. In order to run BlueGenes you'll need to compile the less, using
lein less once
Or, if you'll be making lots of style edits and don't want to type lein less once
every time you make a change, you can automatically recompile the css file whenever it changes, using:
lein less auto
Note that you won't see a prompt telling you when it's complete if you use lein less auto
- but the browser page will automatically refresh so you'll know when it's done.
lein figwheel dev
In another terminal, run the following
lein with-profile +dev run
Then visit http://localhost:5000/ (or whichever port you specific in config.edn)
lein clean
lein doo phantom test once
The above command assumes that you have phantomjs installed. However, please note that doo can be configured to run cljs.test in many other JS environments (chrome, ie, safari, opera, slimer, node, rhino, or nashorn).
Once you're happy with any edits you've made, you probably want to check that it all works the same in a minified prod build. See production builds for info on deploying and testing a minified build.
Can you improve this documentation? These fine people already did:
Yo Yehudi & uoslEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close