Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
msb3399 committed Jul 11, 2017
1 parent 49ec905 commit b999347
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SensSoft Docker Containers and Website
--------------------------------------

Specific build instructions located in docker and site folders.

30 changes: 30 additions & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
How to Build Docker Containers
------------------------------

1. Install [``Docker``](http://docker.com)
2. Install ``docker-compose``.
```
$ mkdir env
$ virtualenv env
$ source env/bin/activate
$ pip install -e .[docker]
```
3. Build and run all ``Docker`` containers.
```
$ docker-compose up -d
```
4. Run a specific ``Docker`` container.
```
$ docker-compose up -d site
# Note: site container is instrumented w/ userale; all userale logs will be sent to the
# elasticsearch docker container.
```
5. Verify the deployment by navigating to ``Kibana`` in your favorite browser.
```sh
http://localhost:5601
```

6. Stop all the containers.
```sh
$ docker-compose stop
```

0 comments on commit b999347

Please sign in to comment.