Skip to content

Commit

Permalink
Fix read me for docker
Browse files Browse the repository at this point in the history
Everything was working fine, docker file needs a logs directory to be there,
to build and get it to work.

Signed-off-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
  • Loading branch information
farhaanbukhsh committed Jan 14, 2019
1 parent 624db82 commit e9861ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -66,15 +66,16 @@ You can also visit `localhost:<port>` to use the web frontend which comes with t

### Run locally using docker

> **Note** : The docker build will fail, due to the docker file not being updated along with rest of the program.
You can run the application using Docker in your local machine. It will use the `Dockerfile` instructions. Make sure you have [Docker](https://www.docker.com/) installed in your machine.

Run the following commands to build and run the docker image.

```bash
$ git clone https://github.com/dgplug/dexer.git
$ cd dexer
$ make logs
$ make docker-build # builds docker image
$ make docker-run # runs the image in new container
```

One has to make sure the `logs` directory has all the file because dexer runs the indexing at the starting and then keeps it, so if a file is not there it would not index it.

0 comments on commit e9861ca

Please sign in to comment.