mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 06:25:57 +00:00
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');
|
||||
|
23
demo/config/blockchain.yml
Normal file
23
demo/config/blockchain.yml
Normal file
@ -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:
|
8
demo/config/contracts.yml
Normal file
8
demo/config/contracts.yml
Normal file
@ -0,0 +1,8 @@
|
||||
development:
|
||||
SimpleStorage:
|
||||
args:
|
||||
- 100
|
||||
staging:
|
||||
SimpleStorage:
|
||||
args:
|
||||
- 100
|
1
demo/config/password
Normal file
1
demo/config/password
Normal file
@ -0,0 +1 @@
|
||||
dev_password
|
2
demo/config/server.yml
Normal file
2
demo/config/server.yml
Normal file
@ -0,0 +1,2 @@
|
||||
host: localhost
|
||||
port: 8000
|
Loading…
x
Reference in New Issue
Block a user