Add Datomic to README and clean up
This commit is contained in:
parent
432ee48162
commit
fac9486787
1 changed files with 18 additions and 26 deletions
44
README.md
44
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+
|
||||
<pre>
|
||||
sudo apt-get install openjdk-7-jdk
|
||||
</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>
|
||||
- Java
|
||||
- Datomic
|
||||
- Leiningen
|
||||
|
||||
Build
|
||||
Build for development
|
||||
-------
|
||||
<pre>
|
||||
$ lein cljsbuild once dev
|
||||
</pre>
|
||||
|
||||
Run
|
||||
-------
|
||||
<pre>
|
||||
```
|
||||
$ lein cljsbuild auto 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.
|
||||
|
|
Loading…
Reference in a new issue