add structuring application section to readme

This commit is contained in:
Iuri Matias 2015-08-31 22:03:02 -04:00
parent 734db0136b
commit ece92d0eea
1 changed files with 14 additions and 0 deletions

View File

@ -274,6 +274,20 @@ $ embark deploy privatenet
embark deploy will deploy all contracts at app/contracts and return the resulting addresses embark deploy will deploy all contracts at app/contracts and return the resulting addresses
Structuring Application
======
Embark is quite flexible and you can configure you're own directory structure using ```embark.yml```
```Yaml
# embark.yml
type: "manual" #other options: meteor, grunt
contracts: ["app/contracts/**/*.sol", "app/contracts/**/*.se"] # contracts files
output: "src/embark.js" # resulting javascript interface
blockchainConfig: "config/blockchain.yml" # blockchain config
contractsConfig: "config/contracts.yml" # contracts config
```
LiveReload Plugin LiveReload Plugin
====== ======