Forked from https://github.com/hoodunit/grub
0cebe1f5ab
by only allowing new inputs if the previous one has been "acked". I.e. if you send one diff, you don't process any more diffs until you receive a diff back. This is something specified in the Neil Frasier paper and also something needed to prevent deadlock. |
||
---|---|---|
bin | ||
csp | ||
dev | ||
doc | ||
resources/public | ||
scripts | ||
src | ||
.gitignore | ||
project.clj | ||
README.md |
Grub
Grub is a real-time synced grocery list. Mainly it's a way for me to play around with Clojure[Script] and core.async.
Install dependencies
- Java 7+
sudo apt-get install openjdk-7-jdk
- MongoDB
$ sudo apt-get install mongodb
- leiningen 2.1.2+
# For example: $ mkdir ~/bin $ echo "export PATH=\$:$HOME/bin" >> $HOME/.bashrc $ cd ~/bin $ wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein $ chmod a+x ~/bin/lein
Build
$ lein cljsbuild once dev
Run
$ lein run dev
By default it runs at http://localhost:3000