2014-09-25 14:16:35 +03:00
|
|
|
Grub
|
|
|
|
===============
|
2013-07-24 20:39:02 +03:00
|
|
|
|
2013-10-11 22:49:16 +03: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 20:39:02 +03:00
|
|
|
|
2014-11-18 19:27:25 +02:00
|
|
|
Install dependencies
|
2014-09-25 14:16:35 +03:00
|
|
|
------------
|
2015-11-17 20:38:46 -05:00
|
|
|
- Java
|
|
|
|
- Datomic
|
|
|
|
- Leiningen
|
2014-11-18 19:27:25 +02:00
|
|
|
|
2015-11-17 20:38:46 -05:00
|
|
|
Build for development
|
2014-09-25 14:16:35 +03:00
|
|
|
-------
|
2015-11-17 20:38:46 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
$ lein cljsbuild auto dev
|
2014-09-25 14:16:35 +03:00
|
|
|
$ lein run dev
|
2015-11-17 20:38:46 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
Navigate to http://localhost:3000.
|
|
|
|
|
|
|
|
Build for production
|
|
|
|
-------
|
|
|
|
|
|
|
|
```
|
|
|
|
$ lein cljsbuild once prod
|
|
|
|
$ lein run prod
|
|
|
|
```
|
2014-11-18 19:27:25 +02:00
|
|
|
|
2015-11-17 20:38:46 -05:00
|
|
|
Or you can run the `scripts/build.sh` script to get a deployment JAR.
|