You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documents/local-dependencies.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
This project depends on several services, which all need to be running in order for the project to operate fully.
1
+
This project depends on several services, which all need to be running in order for the project to operate fully.
2
2
3
3
Assuming you have Docker-Compose installed, the easiest way to get all of the platform's dependencies up and running with the provided docker-compose dev setup:
4
4
@@ -7,9 +7,15 @@ Assuming you have Docker-Compose installed, the easiest way to get all of the pl
7
7
Alternatively, you can start each one individually with the following instructions.
8
8
9
9
10
-
#####Write Journal
10
+
## Write Journal
11
11
12
-
* The write side of this system is supported by either a local `leveldb` database or Cassandra. By default, the local `leveldb` is utilized, and some sample data is loaded automatically.
12
+
* The write side of this system is supported by either a local `leveldb` database or Cassandra.
13
+
14
+
### leveldb
15
+
16
+
`leveldb` is best for local environments and for smoke testing. To use it, set the `HMDA_IS_DEMO` environment variable to `true` in the same session where you run the project in sbt. When that var is set, the platform loads sample data automatically upon startup.
17
+
18
+
### Cassandra
13
19
14
20
If using `Cassandra` is desired, set the following environment variable:
15
21
@@ -44,7 +50,7 @@ run <full local path to sample file>
44
50
```
45
51
A sample file is located in the following folder: `panel/src/main/resources/inst_data_2017_dummy.csv`
46
52
47
-
#####Read Journal
53
+
## Read Journal
48
54
49
55
* In order to support the read side, a local PostgreSQL and Cassandra server are needed. Assuming it runs on the default port, on the same machine as the API, the following environment variable needs to be set:
0 commit comments