diff --git a/README.md b/README.md index c084791..cb4ec6b 100644 --- a/README.md +++ b/README.md @@ -5,34 +5,26 @@ Grub is a real-time synced grocery list. Mainly it's a way for me to play around 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 -+- Java +- Datomic +- Leiningen -Build +Build for development ------- -
-$ lein cljsbuild once dev --Run -------- -
+``` +$ lein cljsbuild auto dev $ lein run dev -+``` -By default it runs at http://localhost:3000 +Navigate to http://localhost:3000. + +Build for production +------- + +``` +$ lein cljsbuild once prod +$ lein run prod +``` + +Or you can run the `scripts/build.sh` script to get a deployment JAR.