summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorShyam Sunder <sgsunder1@gmail.com>2020-03-07 22:17:51 -0500
committerShyam Sunder <sgsunder1@gmail.com>2020-03-13 22:45:11 -0400
commit1a8de9ef3a87d1fa34265814e0987575e0846a99 (patch)
treed27b8ad2e52ceaadacbcd52869a4047fd70b2594 /doc
parent6cc2a91632fff044d08f2529d705b5298104e41e (diff)
all: purge remaining elasticsearch artifacts
Diffstat (limited to 'doc')
-rw-r--r--doc/INSTALL.md56
1 files changed, 21 insertions, 35 deletions
diff --git a/doc/INSTALL.md b/doc/INSTALL.md
index c763cc2..3cb2699 100644
--- a/doc/INSTALL.md
+++ b/doc/INSTALL.md
@@ -36,45 +36,31 @@ and Docker Compose (version 1.6.0 or greater) already installed.
### Running the Application
-1. Configurations for ElasticSearch:
+Download containers:
+```console
+user@host:szuru$ docker-compose pull
+```
- You may need to raise the `vm.max_map_count`
- parameter to at least `262144` in order for the
- ElasticSearch container to function. Instructions
- on how to do so are provided
- [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-cli-run-prod-mode).
+For first run, it is recommended to start the database separately:
+```console
+user@host:szuru$ docker-compose up -d sql
+```
-2. Running the application
+To start all containers:
+```console
+user@host:szuru$ docker-compose up -d
+```
- Download containers:
- ```console
- user@host:szuru$ docker-compose pull
- ```
+To view/monitor the application logs:
+```console
+user@host:szuru$ docker-compose logs -f
+# (CTRL+C to exit)
+```
- For first run, it is reccomended to start the databases seperately:
- ```console
- user@host:szuru$ docker-compose up -d elasticsearch
- user@host:szuru$ docker-compose up -d sql
- ```
- Then wait approx. 2 minutes before starting all containers.
- This gives time for the databases to initalize their storage
- structure.
-
- To start all containers:
- ```console
- user@host:szuru$ docker-compose up -d
- ```
-
- To view/monitor the application logs:
- ```console
- user@host:szuru$ docker-compose logs -f
- # (CTRL+C to exit)
- ```
-
- To stop all containers:
- ```console
- user@host:szuru$ docker-compose down
- ```
+To stop all containers:
+```console
+user@host:szuru$ docker-compose down
+```
### Additional Features