feat: simplified the steps to run the web app (#79)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# Bee Status
|
||||
# Bee Dashboard
|
||||
|
||||
[](https://david-dm.org/ethersphere/bee-dashboard)
|
||||
[](https://swarm.ethereum.org/)
|
||||
[](https://github.com/RichardLitt/standard-readme)
|
||||
[](https://github.com/feross/standard)
|
||||
@@ -25,7 +24,7 @@
|
||||
- [Contribute](#contribute)
|
||||
- [License](#license)
|
||||
|
||||
## Install
|
||||
## Install & build
|
||||
|
||||
```
|
||||
git clone git@github.com:ethersphere/bee-dashboard.git
|
||||
@@ -33,16 +32,17 @@ git clone git@github.com:ethersphere/bee-dashboard.git
|
||||
cd bee-dashboard
|
||||
|
||||
npm ci
|
||||
npm run build
|
||||
```
|
||||
|
||||
## Usage
|
||||
## Serve the Bee Dashboard website
|
||||
|
||||
```sh
|
||||
npm run build
|
||||
|
||||
serve -s ./build
|
||||
npm run serve
|
||||
```
|
||||
|
||||
You can now access Bee Dashboard on [http://localhost:5000/](http://localhost:5000/)
|
||||
|
||||
## Contribute
|
||||
|
||||
There are some ways you can make this module better:
|
||||
|
||||
Generated
+1271
File diff suppressed because it is too large
Load Diff
+2
-1
@@ -58,6 +58,7 @@
|
||||
"eslint-plugin-react": "^7.23.2",
|
||||
"prettier": "^2.2.1",
|
||||
"react-scripts": "4.0.3",
|
||||
"serve": "^11.3.2",
|
||||
"typescript": "^4.2.4",
|
||||
"web-vitals": "^1.1.1"
|
||||
},
|
||||
@@ -65,7 +66,7 @@
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject",
|
||||
"serve": "serve -s ./build",
|
||||
"lint": "eslint --fix \"src/**/*.ts\" \"src/**/*.tsx\" && prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"",
|
||||
"lint:check": "eslint \"src/**/*.ts\" \"src/**/*.tsx\" && prettier --check \"src/**/*.ts\" \"src/**/*.tsx\""
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user