2014-09-25 11:16:35 +00:00
|
|
|
Grub
|
|
|
|
===============
|
2013-07-24 17:39:02 +00:00
|
|
|
|
2013-10-11 19:49:16 +00:00
|
|
|
Grub is a real-time synced grocery list. Mainly it's a way for me to play around with Clojure[Script] and core.async.
|
2013-07-24 17:39:02 +00:00
|
|
|
|
2014-09-25 11:16:35 +00:00
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
- mongodb
|
|
|
|
- Java 7+
|
|
|
|
<pre>
|
|
|
|
$ sudo apt-get install oracle-java7-installer
|
|
|
|
$ sudo apt-get install oracle-java7-set-default
|
|
|
|
</pre>
|
|
|
|
- leiningen 2.1.2+
|
|
|
|
<pre>
|
|
|
|
$ mkdir ~/bin
|
|
|
|
$ wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
|
|
|
|
$ mv lein ~/bin/.
|
|
|
|
$ chmod a+x ~/bin/lein
|
|
|
|
$ lein
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
Running
|
|
|
|
-------
|
|
|
|
<pre>
|
|
|
|
$ lein cljsbuild once
|
|
|
|
$ lein run dev
|
|
|
|
</pre>
|
|
|
|
- By default it will be running at http://localhost:3000
|