Maintenance today from 08:15 to 09:00 CEST.

Commit de6a7030 authored by Marius Momeu's avatar Marius Momeu

Update README.md

parent 42963615
......@@ -27,16 +27,49 @@
docker-compose up -d
```
A directory called `truffle-code` was created by `docker` which represents a volume that is mapped inside the `truffle-dev` container to `/root/code`.
This should make the development of your smart contracts isolated from any technologies needed to compile and deploy the smart contracts, such as `truffle`.
All the `truffle` commands should be run inside the docker container, while you can use your favourite text editor to write and edit source code within the `truffle-code` folder. **NOTE**: You might need to change the owner of the files in the `truffle-code` directory on the host, since the user in the guest is `root` and, therefore, any command executed in the guest (such as `truffle` related commands) might change the permission of the affected files to root.
For a comprehensive `truffle` tutorial please check: https://truffleframework.com/docs/truffle/overview
After initializing your `truffle` project, edit the `truffle-config.json` file to configure `truffle` to connect to your private Ethereum blockchain.
For the current docker setup, the file should look similar to:
```
module.exports = {
networks: {
development: {
host: "172.25.0.110",
port: 8545,
network_id: "6660001"
}
}
};
```
# IPFS
Go through the following tutorial to run an IPFS node in a docker container:
Execute following commands to run an `IPFS` node in a docker container:
```
cd <path-to-blockchain-dev-env>/ipfs
./start.sh
```
Go through the following tutorial to better understand the arguments of the `start.sh` script:
* https://blog.ipfs.io/1-run-ipfs-on-docker/
https://blog.ipfs.io/1-run-ipfs-on-docker/
# BigchainDB
Go through the following tutorial to run an BCDB node in a docker container:
Execute following commands to run a `BCDB` node in a docker container:
```
cd <path-to-blockchain-dev-env>/bigchaindb
./start.sh
```
Go through the following tutorial to better understand the arguments of the `start.sh` script:
* http://docs.bigchaindb.com/projects/server/en/v2.0.0b9/appendices/all-in-one-bigchaindb.html
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment