liderako / eos-contracts

2 stars 0 forks source link

install docker #2

Open liderako opened 6 years ago

liderako commented 6 years ago

Useful

alias cleos='docker exec -it eosio /opt/eosio/bin/cleos -u http://0.0.0.0:8888 --wallet-url http://0.0.0.0:8888'
alias nodeos='docker exec -it eosio /opt/eosio/bin/nodeos'
alias eosiocpp='docker exec -it eosio /opt/eosio/bin/eosiocpp'
liderako commented 6 years ago

install docker

docker pull eosio/eos-dev
docker run --name eosio -d -p 8888:8888 -p 9876:9876 -v /tmp/work:/work -v /tmp/eosio/data:/mnt/dev/data -v /tmp/eosio/config:/mnt/dev/config eosio/eos-dev  /bin/bash -c "nodeos -e -p eosio --plugin eosio::wallet_api_plugin --plugin eosio::wallet_plugin --plugin eosio::producer_plugin --plugin eosio::history_plugin --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --plugin eosio::http_plugin -d /mnt/dev/data --config-dir /mnt/dev/config --http-server-address=0.0.0.0:8888 --access-control-allow-origin=* --contracts-console "
liderako commented 6 years ago
docker run --name eosio \
  --publish 7777:7777 \
  --publish  127.0.0.1:5555:5555 \
  --volume /Users/asvirido/contracts:/Users/asvirido/contracts \
  --detach \
  eosio/eos \
  /bin/bash -c \
  "keosd --http-server-address=0.0.0.0:5555 & exec nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::history_plugin --plugin eosio::chain_api_plugin --plugin eosio::history_plugin --plugin eosio::history_api_plugin --plugin eosio::http_plugin -d /mnt/dev/data --config-dir /mnt/dev/config --http-server-address=0.0.0.0:7777 --access-control-allow-origin=* --contracts-console --http-validate-host=false --filter-on='*'"
liderako commented 6 years ago
alias cleos='docker exec -it eosio /opt/eosio/bin/cleos -u http://0.0.0.0:8888'
liderako commented 6 years ago
docker run --name eosio \
  --publish 7777:7777 \
  --publish  127.0.0.1:5555:5555 \
  --volume /home/asvirido/contracts:/home/asvirido/contracts \
  --detach \
  eosio/eos \
  /bin/bash -c \
  "keosd --http-server-address=0.0.0.0:5555 & exec nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::history_plugin --plugin eosio::chain_api_plugin --plugin eosio::history_plugin --plugin eosio::history_api_plugin --plugin eosio::http_plugin -d /mnt/dev/data --config-dir /mnt/dev/config --http-server-address=0.0.0.0:7777 --access-control-allow-origin=* --contracts-console --http-validate-host=false --filter-on='*'"
liderako commented 6 years ago

for dev wallet 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3