Skip to content

Commit

Permalink
docs: add tip to setup section in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gaboesquivel authored and leordev committed Nov 6, 2018
1 parent 60b859d commit fe2ebc9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Expand Up @@ -96,10 +96,17 @@ We structured everything in microservices and it can be automagically initialize
After you installed docker just run the following commands:

**Start docker containers and Create postgres database and init chain and monster data**

```
./setup.sh
```

Tip: Before continuing with setup run `docker-compose logs -f` to make sure the nodes are running fine.

<p align="center">
<img src="docs/assets/setupsh.png" width="600">
</p>

Now that you have installed everything you can always start the app with the following command:

```
Expand Down Expand Up @@ -138,6 +145,15 @@ Feel free to build any other apps and/or dockerize it. We didn't create a docker
- https://docs.docker.com/compose/reference/logs/
- https://medium.com/@betz.mark/ten-tips-for-debugging-docker-containers-cde4da841a1d

*Removing all data*

Run the following comands on the root directory
```shell
docker-compose down
docker volume prune
rm -rf .dbdata
```

### EOS Dream Stack

You can build any Dapp using the above structure. Tweak the structure a little bit to satisfy all your needs, i.e.: you can change the postgres for other database as mongo or mysql; you might not need demux and the backend if your app is very basic, allowing the frontend to read directly from the chain; change the frontend to whatever framework you want to use as Vue or Angular, not only this but your frontend can be a mobile native app, why not?
Expand Down
Binary file added docs/assets/setupsh.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fe2ebc9

Please sign in to comment.