Skip to content
No description, website, or topics provided.
Clojure CSS HTML
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
env
public
src/sum_three
.gitignore
LICENSE
README.md
project.clj

README.md

Sum Three

A quick little single-page application for totaling 3 scores (1-9) in a circular buffer.

Development mode

The app was initialized from the reagent-frontend template:

lein new reagent-frontend sum-three

To start the Figwheel compiler, navigate to the project folder and run the following command in the terminal:

lein figwheel

Figwheel will automatically push cljs changes to the browser. Once Figwheel starts up, you should be able to open the public/index.html page in the browser.

REPL

The project is setup to start nREPL on port 7002 once Figwheel starts. Once you connect to the nREPL, run (cljs) to switch to the ClojureScript REPL.

Emacs CIDER

To work on the project in emacs, start up emacs, jack into cljs, choose figwheel when prompted, and it'll start up the server from emacs. Navigate to the http://loalhost:3449/ to browse the app.

Building for Production

lein package

Deploying Production Artifacts

Copy public/js/app.js, public/index.html, and public/css/site.css to a static site.

You can’t perform that action at this time.