All Projects → hoodunit → grub

hoodunit / grub

Licence: MIT license
Real-time synced grocery list (demo app)

Programming Languages

clojure
4091 projects
CSS
56736 projects
shell
77523 projects

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

  • Datomic

    • Set environment variables:

      DATOMIC_HOME=<Datomic directory>

      DATOMIC_TRANSACTOR_PROPERTIES_DIR=<directory with transactor.properties file>

    • Add Datomic credentials to ~/.lein/credentials.clj.gpg per Datomic instructions.

  • Leiningen

Build for development

$ ./scripts/start_datomic
$ lein cljsbuild auto dev
$ lein run dev

Navigate to http://localhost:3000. Run unit tests with lein midje and end-to-end tests with lein run e2e.

Build for production

$ lein cljsbuild once prod
$ lein run prod

Or you can run the scripts/build.sh script to get a deployment JAR.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].