Update README instructions
This commit is contained in:
parent
fdd4c0a15a
commit
c910d1d1f8
1 changed files with 19 additions and 9 deletions
28
README.md
28
README.md
|
@ -3,27 +3,37 @@ 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.
|
Grub is a real-time synced grocery list. Mainly it's a way for me to play around with Clojure[Script] and core.async.
|
||||||
|
|
||||||
Dependencies
|
Install dependencies
|
||||||
------------
|
------------
|
||||||
- mongodb
|
|
||||||
- Java 7+
|
- Java 7+
|
||||||
<pre>
|
<pre>
|
||||||
$ sudo apt-get install oracle-java7-installer
|
sudo apt-get install openjdk-7-jdk
|
||||||
$ sudo apt-get install oracle-java7-set-default
|
</pre>
|
||||||
|
- MongoDB
|
||||||
|
<pre>
|
||||||
|
$ sudo apt-get install mongodb
|
||||||
</pre>
|
</pre>
|
||||||
- leiningen 2.1.2+
|
- leiningen 2.1.2+
|
||||||
<pre>
|
<pre>
|
||||||
|
# For example:
|
||||||
$ mkdir ~/bin
|
$ mkdir ~/bin
|
||||||
|
$ echo "export PATH=\$:$HOME/bin" >> $HOME/.bashrc
|
||||||
|
$ cd ~/bin
|
||||||
$ wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
|
$ wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
|
||||||
$ mv lein ~/bin/.
|
|
||||||
$ chmod a+x ~/bin/lein
|
$ chmod a+x ~/bin/lein
|
||||||
$ lein
|
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
Running
|
Build
|
||||||
|
-------
|
||||||
|
<pre>
|
||||||
|
$ lein cljx
|
||||||
|
$ lein cljsbuild once dev
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
Run
|
||||||
-------
|
-------
|
||||||
<pre>
|
<pre>
|
||||||
$ lein cljsbuild once
|
|
||||||
$ lein run dev
|
$ lein run dev
|
||||||
</pre>
|
</pre>
|
||||||
- By default it will be running at http://localhost:3000
|
|
||||||
|
By default it runs at http://localhost:3000
|
||||||
|
|
Loading…
Reference in a new issue