gnidan / docker-eth-dev Goto Github PK
View Code? Open in Web Editor NEWHacking together a containerized environment for Ethereum development with Truffle using Parity
Hacking together a containerized environment for Ethereum development with Truffle using Parity
Add an ipfs
service and hook up volumes/networking/etc.
The browser is rejecting calls to the testrpc server because the header "Access-Control-Allow-Origin: *" is getting stripped off somewhere down the line. Seems nginx is doing this.
I worked around this by bypassing nginx:
testrpc.patch.txt
But maybe there is some tweak to the nginx conf file that will preserve the header?
At least with version 2 of truffle it would use solc (C++) if it found it on the PATH and the compile was much faster this way then using solc-js. I'm finding compiles taking quite a long time now.
I'll try this out with truffle 3 and see if it's the same.
For 1-command installation, rather than git clone
+ a bunch of other steps
My environment is windows 7 with a vagrant (blinkreaction/boot2docker) box. When I try to run
source <dir>/bin/activate.sh
I get the error
-sh: /.../activate.sh: line 23: syntax error: unexpected redirection
Here smart-contracts is a symlink to a project:
/dev/docker-eth-dev/dapps/smart-contracts$ truffle test
ERROR: Cannot start service truffle: oci runtime error: container_linux.go:247: starting container process caused "chdir to cwd (\"/var/dapps/smart-contracts\") set in config.json failed: no such file or directory"
But if I copy the full project into dapps/ it runs okay.
This project might be taking a non-standard approach by doing a lot of extra bash nonsense. It might be worth stripping out some of this behavior to make the setup more widely helpful to others.
I tried running the code, but got this error :
Successfully tagged containers_testrpc:latest
WARNING: Image for service testrpc was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Pulling parity-testnet (ethcore/parity:v1.5.6)...
ERROR: repository ethcore/parity not found: does not exist or no pull access
I checked on the docker hub page of ethcore and couldn't find a parity
image. There are other images available like parity-dev
. I am not sure if the images required and present on ethcore are compatible.
I have tried out mmeister/parity-testnet:latest
image and it worked for me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.