Permalink
Browse files

refactor(common): general cleanup

  • Loading branch information...
gaboesquivel committed Dec 2, 2018
1 parent a6d151a commit 75fa6ad3015049c7b3b2dd84c626a0867379b095
Showing with 16 additions and 8 deletions.
  1. +2 −3 docker-compose.yml
  2. +9 −4 readme.md
  3. +1 −1 services/eosio/scripts/unlock.sh
  4. +4 −0 yarn.lock
@@ -25,8 +25,7 @@ services:
- ./contracts:/opt/application/contracts
depends_on:
- mongo
links:
- 'eos-wallet:eos-wallet'
- eos-wallet
networks:
eoslocal:
aliases:
@@ -95,7 +94,7 @@ services:
volumes:
eosio-data-volume:
keosd-data-volume:
external: true # set false to delete wallet
external: true
mongo-data-volume:

networks:
@@ -115,6 +115,8 @@ Execute `make setup` for:
- Chain initialization.
- Testing Users Creation.

Run `docker ps` afterwards to see the list of running containers.

## Commands

- `make setup` run chain initialization.
@@ -220,7 +222,7 @@ EOS Local comes with 2 EOS nodes running in separate docker containers, you can
You can execute commands on any container from you host machine using the `docker exec` command.
Eg:

`docker exec -i eoslocal_eosio cleos --url http://localhost:8888/`
`docker exec -i eoslocal_eosio cleos --url http://localhost:8888/ get info`

We recomend using declaring alias on your shell configuration Eg (.bashrc or .zshrc)

@@ -261,6 +263,12 @@ root@b39ffe3c43c0:/opt/eosio/bin# cleos get info
}
```

## Docker Tips

- `docker ps` displays the list of docker containers currently running.
- `docker network ls` displays the list of currently running networks.
- `docker --help` is your friend.

## Frequently Asked Questions

### Why Containers ?
@@ -285,9 +293,6 @@ Learn more at https://cloud.google.com/containers/

We use a Kanban-style board. That's were we prioritize the work. [Go to Project Board](https://github.com/eoscostarica/eos-local/projects/3).

<p align="center">
<img src="docs/project-board.png" width="600">
</p>

The main communication channels are [github issues](https://github.com/eoscostarica/eos-local/issues) and [EOS Costa Rica's Discord server](https://eoscostarica.io/discord). Feel to join and ask as many questions you may have.

@@ -4,7 +4,7 @@
set -ux

# Alias cleos with endpoint param to avoid repetition
# We use as host here because that service name configured in docker-compose.yml
# Host name is the service name configured in docker-compose.yml
cleos="cleos -u http://eosio:8888 --wallet-url http://eos-wallet:8901"

# Unlocks the default wallet and waits .5 seconds

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 75fa6ad

Please sign in to comment.