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
+19-8Lines changed: 19 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,34 @@
1
+
# Dev Dependencies
2
+
1
3
This project depends on several services, which all need to be running in order for the project to operate fully.
2
4
3
5
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
6
5
-
`docker-compose -f docker-dev.yml up`
7
+
```shell
8
+
docker-compose -f docker-dev.yml up
9
+
```
6
10
7
11
Alternatively, you can start each one individually with the following instructions.
8
12
9
13
10
14
## Write Journal
11
15
12
-
* The write side of this system is supported by either a local `leveldb` database or Cassandra.
16
+
The write side of this system is supported by either a local `leveldb` database or Cassandra.
17
+
18
+
#### leveldb
13
19
14
-
### leveldb
20
+
`leveldb` is best for local environments and for smoke testing. When using `leveldb`, the project automatically loads sample data into the environment when it starts up.
21
+
22
+
To use it, set the following environment variable in the same session where you run the project in sbt:
23
+
24
+
```shell
25
+
export HDMA_IS_DEMO=true
26
+
```
15
27
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
28
18
-
### Cassandra
29
+
####Cassandra
19
30
20
-
If using `Cassandra` is desired, set the following environment variable:
31
+
If using Cassandra is desired, set the following environment variable:
21
32
22
33
```shell
23
34
export HDMA_IS_DEMO=false
@@ -52,7 +63,7 @@ A sample file is located in the following folder: `panel/src/main/resources/inst
52
63
53
64
## Read Journal
54
65
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:
66
+
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:
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,9 @@ is used, see the documentation [here](Documents/cluster.md)
82
82
83
83
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:
84
84
85
-
`docker-compose -f docker-dev.yml up`
85
+
```shell
86
+
docker-compose -f docker-dev.yml up
87
+
```
86
88
87
89
When finished, use `docker-compose down` to gracefully stop the running containers.
0 commit comments