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-11-18 17:27:25 +00:00
|
|
|
Install dependencies
|
2014-09-25 11:16:35 +00:00
|
|
|
------------
|
2015-11-18 01:38:46 +00:00
|
|
|
- Java
|
|
|
|
- Datomic
|
|
|
|
- Leiningen
|
2014-11-18 17:27:25 +00:00
|
|
|
|
2015-11-18 01:38:46 +00:00
|
|
|
Build for development
|
2014-09-25 11:16:35 +00:00
|
|
|
-------
|
2015-11-18 01:38:46 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
$ lein cljsbuild auto dev
|
2014-09-25 11:16:35 +00:00
|
|
|
$ lein run dev
|
2015-11-18 01:38:46 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Navigate to http://localhost:3000.
|
|
|
|
|
|
|
|
Build for production
|
|
|
|
-------
|
|
|
|
|
|
|
|
```
|
|
|
|
$ lein cljsbuild once prod
|
|
|
|
$ lein run prod
|
|
|
|
```
|
2014-11-18 17:27:25 +00:00
|
|
|
|
2015-11-18 01:38:46 +00:00
|
|
|
Or you can run the `scripts/build.sh` script to get a deployment JAR.
|