111 lines
4.7 KiB
Markdown
111 lines
4.7 KiB
Markdown
# Bee Dashboard
|
|
|
|
[](https://swarm.ethereum.org/)
|
|
[](https://github.com/RichardLitt/standard-readme)
|
|
[](https://github.com/feross/standard)
|
|
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fethersphere%2Fbee-dashboard?ref=badge_shield)
|
|

|
|

|
|
|
|
> An app which helps users to setup their Bee node and do actions like cash out cheques, upload and download files or
|
|
> manage your postage stamps.
|
|
|
|
**Warning: This project is in alpha state. There might (and most probably will) be changes in the future to its API and
|
|
working. Also, no guarantees can be made about its stability, efficiency, and security at this stage.**
|
|
|
|
This project is intended to be used with **Bee version <!-- SUPPORTED_BEE_START -->1.4.0-8fa696a8<!-- SUPPORTED_BEE_END -->**.
|
|
Using it with older or newer Bee versions is not recommended and may not work. Stay up to date by joining the
|
|
[official Discord](https://discord.gg/GU22h2utj6) and by keeping an eye on the
|
|
[releases tab](https://github.com/ethersphere/bee-dashboard/releases).
|
|
|
|

|
|
|
|
| Node Setup | Upload Files | Download Content | Accounting | Postage Stamps |
|
|
| ------------------------------------ | -------------------------------------- | ------------------------------------------ | ----------------------------------------- | ---------------------------------------- |
|
|
|  |  |  |  |  |
|
|
|
|
## Table of Contents
|
|
|
|
- [Install](#install)
|
|
- [Usage](#usage)
|
|
- [Terminal](#terminal)
|
|
- [Docker](#docker)
|
|
- [Contribute](#contribute)
|
|
- [Development](#development)
|
|
- [Maintainers](#maintainers)
|
|
- [License](#license)
|
|
|
|
## Install
|
|
|
|
Install globally with npm. We require Node.js's version of at least 12.x and npm v6.x (or yarn v2.x).
|
|
|
|
```sh
|
|
npm install -g @ethersphere/bee-dashboard
|
|
```
|
|
|
|
## Usage
|
|
|
|
:warning: To successfully connect to the Bee node, you will need to enable the Debug API and CORS. You can do so by
|
|
setting `cors-allowed-origins: ['*']` and `debug-api-enable: true` in the Bee config file and then restart the Bee node.
|
|
To see where the config file is, consult the
|
|
[official Bee documentation](https://docs.ethswarm.org/docs/working-with-bee/configuration#configuring-bee-installed-using-a-package-manager)
|
|
|
|
### Terminal
|
|
|
|
To start use:
|
|
|
|
```sh
|
|
bee-dashboard
|
|
```
|
|
|
|
This should open the webpage on [`http://localhost:8080`](http://localhost:8080)
|
|
|
|
### Docker
|
|
|
|
To build Docker image and run it, execute the following from inside project directory:
|
|
|
|
```sh
|
|
docker build . -t bee-dashboard
|
|
docker run --rm -p 127.0.0.1:8080:8080 bee-dashboard
|
|
```
|
|
|
|
Bee dashboard is now available on [`http://localhost:8080`](http://localhost:8080)
|
|
|
|
### Development
|
|
|
|
```sh
|
|
git clone git@github.com:ethersphere/bee-dashboard.git
|
|
|
|
cd bee-dashboard
|
|
|
|
npm i
|
|
|
|
npm start
|
|
```
|
|
|
|
The Bee Dashboard runs in development mode on [http://localhost:3031/](http://localhost:3031/)
|
|
|
|
> Setting the `REACT_APP_DEV_MODE=1` environment variable, or opening Bee Dashboard with the query string `?devMode=1` loosens some checks. This makes it possible to develop Bee Dashboard without having connected peers and chequebook properly set up, effectively supporting the dev mode of Bee itself.
|
|
|
|
## Contribute
|
|
|
|
There are some ways you can make this module better:
|
|
|
|
- Consult our [open issues](https://github.com/ethersphere/bee-dashboard/issues) and take on one of them
|
|
- Help our tests reach 100% coverage!
|
|
- Join us in our [Discord chat](https://discord.gg/wdghaQsGq5) in the #develop-on-swarm channel if you have questions or
|
|
want to give feedback
|
|
|
|
## Maintainers
|
|
|
|
- [vojtechsimetka](https://github.com/vojtechsimetka)
|
|
- [Cafe137](https://github.com/Cafe137)
|
|
|
|
See what "Maintainer" means [here](https://github.com/ethersphere/repo-maintainer).
|
|
|
|
## License
|
|
|
|
[BSD-3-Clause](./LICENSE)
|
|
|
|
|
|
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fethersphere%2Fbee-dashboard?ref=badge_large) |