mirror of https://github.com/embarklabs/embark.git
update demo
This commit is contained in:
parent
13b7a9f2e5
commit
79db42544a
|
@ -66,8 +66,9 @@ program.command('demo').description('create a working dapp with a SimpleStorage
|
|||
|
||||
var targetDir = "./embark_demo";
|
||||
wrench.copyDirSyncRecursive(boilerPath, targetDir);
|
||||
wrench.copyDirSyncRecursive(demoPath + "/app", targetDir + "/app", {forceDelete: true});
|
||||
wrench.copyDirSyncRecursive(demoPath + "/spec", targetDir + "/spec", {forceDelete: true});
|
||||
wrench.copyDirSyncRecursive(demoPath + "/app", targetDir + "/app", {forceDelete: true});
|
||||
wrench.copyDirSyncRecursive(demoPath + "/config", targetDir + "/config", {forceDelete: true});
|
||||
wrench.copyDirSyncRecursive(demoPath + "/spec", targetDir + "/spec", {forceDelete: true});
|
||||
|
||||
cd(targetDir);
|
||||
run('npm install');
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
development:
|
||||
rpc_host: localhost
|
||||
rpc_port: 8101
|
||||
rpc_whitelist: "*"
|
||||
minerthreads: 1
|
||||
datadir: /tmp/embark
|
||||
mine_when_needed: true
|
||||
gas_limit: 100000
|
||||
gas_price: 10000000000000
|
||||
console: false
|
||||
account:
|
||||
init: true
|
||||
password: config/password
|
||||
staging:
|
||||
rpc_host: localhost
|
||||
rpc_port: 8101
|
||||
rpc_whitelist: "*"
|
||||
datadir: default
|
||||
network_id: 0
|
||||
console: true
|
||||
account:
|
||||
init: false
|
||||
address:
|
|
@ -0,0 +1,8 @@
|
|||
development:
|
||||
SimpleStorage:
|
||||
args:
|
||||
- 100
|
||||
staging:
|
||||
SimpleStorage:
|
||||
args:
|
||||
- 100
|
|
@ -0,0 +1 @@
|
|||
dev_password
|
|
@ -0,0 +1,2 @@
|
|||
host: localhost
|
||||
port: 8000
|
Loading…
Reference in New Issue