Skip to content

Commit 07cd084

Browse files
committed
improve README.md
1 parent 27e0840 commit 07cd084

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

Diff for: README.md

+15-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ lein migratus migrate
1111
## Prerequisites
1212

1313
1. You will need [Leiningen][1] 2.0 or above installed.
14-
2. You will need to instll postgresql.
15-
3. Install libraries needed for spark.
14+
2. You will need Java 8 or above installed.
15+
3. You will need to instll postgresql and pre-create user and database.
16+
4. Install libraries needed for spark.
1617

1718
```
1819
sudo apt-get install libgfortran3
@@ -28,6 +29,18 @@ To start a web server for the application, run:
2829

2930
Point chrome to http://localhost:3000
3031

32+
### Check spark stages
33+
34+
Point chrome to http://localhost:4040/stages/
35+
36+
## Deployment
37+
38+
After uberjar built.
39+
40+
```
41+
java -Ddatabase-url="jdbc:postgresql://localhost/intowow_dev?user=intowow&password=qwerty" -jar target/uberjar/intowow.jar
42+
```
43+
3144
## License
3245

3346
Copyright © 2017 Laurence Chen

0 commit comments

Comments
 (0)