Skip to content

Commit 9bab0b3

Browse files
authored
Update README.md
1 parent 143f8f8 commit 9bab0b3

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,25 @@
11
# CSE291-Graph-Database
22
Course project of UCSD CSE-291K Management of Large Scale Graph Database
3+
4+
## Dependencies
5+
6+
The project depends on following libraries:
7+
```
8+
com.sangupta:bloomfilter:0.9.0
9+
mysql:mysql-connector-java:5.1.42
10+
org.json:json:20170516
11+
org.apache.commons:commons-csv:1.4
12+
antlr-complete-4.6
13+
```
14+
15+
To run this project, you must first resolve these dependencies.
16+
17+
## Configuration:
18+
19+
The project is based on MySQL 5.7.15 Homebrew. To import data, you must first provide the username (default "root"), and password (default ""). Then create a database named "graphdb". The original 3.4GB csv data file should be placed in the root folder of this project, and renamed as `data.csv`.
20+
21+
Sample Cypher query string is in `query.txt` under project root folder. You can change the query string, but keep it valid.
22+
23+
## Run project
24+
25+
Simple compile the project, and run the main function in `Main.java`. It generally takes 3-4 hours to import the whole file, and about 10 minutes to set up indices.

0 commit comments

Comments
 (0)