Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ethersphere/bee-js-docs
https://github.com/ethersphere/bee-js-docs
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ethersphere/bee-js-docs
- Owner: ethersphere
- Created: 2021-01-19T16:18:10.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-30T06:49:23.000Z (about 1 year ago)
- Last Synced: 2024-05-14T00:39:18.488Z (6 months ago)
- Language: JavaScript
- Size: 12.3 MB
- Stars: 2
- Watchers: 11
- Forks: 4
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- awesome-swarm - Bee-JS Docs - Documentation for the Swarm Bee-js javascript library. View at [bee-js.ethswarm.org](https://bee-js.ethswarm.org/docs/). (Projects / Documentation)
README
# Bee JS Documentation Website
Documentation for the [Swarm Bee-js javascript library](https://github.com/ethersphere/bee-js). View at [bee-js.ethswarm.org](https://bee-js.ethswarm.org).
### Node Version
You must use **node 14** or above. We recommend [nvm](https://github.com/nvm-sh/nvm).
### Prerequisites
This project requires the bee-js repository to be cloned as a git submodule.
You can fetch it by cloning the entire repository with the following command:
```
$ git clone --recurse-submodules https://github.com/ethersphere/bee-js.git
```Or optionally fetch the submodule after cloning with the following command:
```
$ git submodule update --init
```### Installation
```
$ npm i
```### Local Development
```
$ npm start
```This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
### Build
```
$ npm run build
```This command generates static content into the `build` directory and can be served using any static contents hosting service.
## Bumping Version
Don't forget to find and replace the version number for the whole of the docs folder.
## How to generate / include the API reference html
```sh
# Initialise the bee-js submodule
git submodule update --init --recursive# Update to the latest master, you could also change directory in and retrieve specific tag or branch
git submodule update --remote --merge# For the generation we need to have all the dependencies
cd bee-js
npm ci
cd ..# Generate new API
npm run build
```## Maintainers
See what "Maintainer" means [here](https://github.com/ethersphere/repo-maintainer).