A web application to help manage grocery shopping, written in Clojure and Clojurescript
JavaScript Clojure Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
dev
doc
externs
repl
resources
src-cljs/eatme
src/eatme
test
.gitignore
LICENSE_epl.html
Procfile
README.mkd
project.clj

README.mkd

eat-me

Eat what you buy and buy what you eat

###Getting started

git clone https://github.com/oliyh/eat-me.git
lein cljsbuild once
lein run

Open a browser and visit http://localhost:8080

###The Browser Repl (brepl)

lein trampoline cljsbuild repl-listen

Visit http://localhost:8080/?repl=yes or http://localhost:8080/brepl.html

ClojureScript:cljs.user> (js/alert "Hello from bREPL!")

###Compiling the brepl

Get ClojureScript (a good version)

git clone https://github.com/clojure/clojurescript.git
cd clojurescript
git checkout r1450 # this one definitely works, try others at your own risk

Make sure you set proxy settings before running the next command or it will fail silently and nothing else will work

./script/bootstrap

Add ClojureScript to your path for convenience

export CLOJURESCRIPT_HOME=$PWD
export PATH=$CLOJURESCRIPT_HOME/bin:$PATH

Compile the brepl ClojureScript file (return to this project's directory)

cd repl
cljsc brepl.cljs '{:optimizations :simple, :output-to "../resources/public/js/brepl.js"}'