Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #152 from gasolin/fix
support npm run build command and fix run-transactions-simple example
- Loading branch information
Showing
4 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## prerequisite | ||
|
||
``` | ||
$ npm install -g browserify http-server | ||
``` | ||
|
||
## Instruction | ||
|
||
Run command | ||
|
||
``` | ||
$ browserify index.js -o bundle.js | ||
``` | ||
|
||
Then host this folder in a web server | ||
|
||
``` | ||
$ http-server | ||
``` | ||
|
||
open http://localhost:8080 in a browser and check the result in web console. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<script src='/index.js'></script> | ||
<script src='/bundle.js'></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters