Add Datomic to README and clean up

This commit is contained in:
Nicholas Kariniemi 2015-11-17 20:38:46 -05:00
parent 432ee48162
commit fac9486787

View file

@ -5,34 +5,26 @@ Grub is a real-time synced grocery list. Mainly it's a way for me to play around
Install dependencies Install dependencies
------------ ------------
- Java 7+ - Java
<pre> - Datomic
sudo apt-get install openjdk-7-jdk - Leiningen
</pre>
- MongoDB
<pre>
$ sudo apt-get install mongodb
</pre>
- leiningen 2.1.2+
<pre>
# 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
</pre>
Build Build for development
------- -------
<pre>
$ lein cljsbuild once dev
</pre>
Run ```
------- $ lein cljsbuild auto dev
<pre>
$ lein run dev $ lein run dev
</pre> ```
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.