aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHsuan Lee <boczeratul@gmail.com>2019-04-08 15:18:53 +0800
committerHsuan Lee <boczeratul@gmail.com>2019-04-08 15:18:53 +0800
commit742e272b172d19741113dd5a52860101a767d003 (patch)
tree14173794bf452ec8e019ef0977b9b513bba0f66b
parent180942ed527a351c28cc2a418c1528c4e5aaa33e (diff)
downloaddexon-lottery-742e272b172d19741113dd5a52860101a767d003.tar
dexon-lottery-742e272b172d19741113dd5a52860101a767d003.tar.gz
dexon-lottery-742e272b172d19741113dd5a52860101a767d003.tar.bz2
dexon-lottery-742e272b172d19741113dd5a52860101a767d003.tar.lz
dexon-lottery-742e272b172d19741113dd5a52860101a767d003.tar.xz
dexon-lottery-742e272b172d19741113dd5a52860101a767d003.tar.zst
dexon-lottery-742e272b172d19741113dd5a52860101a767d003.zip
Update README
-rw-r--r--README.md22
1 files changed, 16 insertions, 6 deletions
diff --git a/README.md b/README.md
index db27de8..2b3a9cc 100644
--- a/README.md
+++ b/README.md
@@ -4,13 +4,23 @@ Repository for DEXON lottery event
## Install
`yarn`
-## Compile
-`npm run compile`
+## Contract
-## Testing (By using Ganache)
-`npm run test`
+### Compile
+`npm run contract:compile`
-## Deploy contract (on DEXON testnet)
+### Testing (By using Ganache)
+`npm run contract:test`
+
+### Deploy contract (on DEXON testnet)
1. Copy `secret.js.sample` to `secret.js`.
2. Set the `mnemonic` in `secret.js`.
-3. `npm run deploy`
+3. `npm run contract:deploy`
+
+## Webapp
+
+### Develop
+`npm run webapp:dev`
+
+### Build
+`npm run webapp:build`