OSDN Git Service

Merge branch 'dashboardmaster' into dev
[bytom/bytom-electron.git] / README.md
1 # Bytom Dashboard
2
3 ## Development
4
5 #### Setup
6
7 Install Node.js:
8
9 ```
10 brew install node
11 ```
12
13 Install dependencies:
14
15 ```
16 npm install
17 ```
18
19 ##### Add Bytomd Deamon
20 Add a folder named `bytomd` under the root folder. Put all the bytomd files into that folder.
21 ```
22 bytom-electron
23 │   README.md
24
25 └───bytomd
26 │   │   bytomd-darwin_amd64
27 │   │   bytomd-linux_386
28 │   │   bytomd-linux_amd64
29 │   │   bytomd-windows_386.exe
30 │   │   bytomd-windows_amd64.exe
31 │   │  
32 ``` 
33
34
35 To developer the bytom electron app, run the script.
36 ```
37 DEV=ture electron .
38 ```
39
40 ---
41 #### Package
42
43 To package the app for all platform, run the following command. 
44
45 ```
46 npm run package
47 ```