Skip to content

DevchainUserGroup/environment

 
 

Repository files navigation

Devchain User Group Environment Repository

This package provides docker image and scripts to run private Ethereum blockchain.

Community

Associated meetups

Setup

Pre-install Windows / OSX

Please follow the Windows / MacOS pre installation

All the docker entry commands are inside the Makefile. Please make familiar with the content of this file.

If you are Linux user then please skip the Vagrant installation part. Go directly to Docker.

Pre-install Linux

Please follow the Linux pre installation

Setup

All the docker entry commands are inside the Makefile. Please make familiar with the content of this file.

  1. Create a NODENAME file - ./docker/ethnetintel/files/NODENAME with your username:

     cd <this repo directory>/docker  # in vagrant this is ~/docker
     echo "my-name" > ethnetintel/files/NODENAME
    
  2. Build Images:

     cd docker
     make geth-build eth-polygon-build
    
  3. Run a Devchain's node. This can be achieve either ways:

    • Geth stand alone

         make geth-run
      
    • Run Geth with eth-net-intelligence-api. In this case you don't run the geth-devchain cointainer because ethnetintel-devchain will start a new one for you.

         docker-compose up --build ethnetintel-devchain
      

Truffle (Solidity Development)

Please follow the description in truffle/README.md

Useful commands

docker

  • List docker image

      sudo docker image list
    
  • List docker container

      sudo docker container list
    

geth

truffle

  • Init a project

      truffle init
    
  • Run test

      truffle test
    
  • Serve file content

      truffle serve
    

Intelligence API

http://factory.shinit.net:15000

License

Copyright 2017 - Dechain User Group Apache License (./LICENSE.txt)[./LICENSE.txt]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 80.8%
  • Makefile 11.0%
  • Ruby 8.2%