Skip to content

othub-io/othub-react

Repository files navigation

OTHub React

OTHub React is a community managed React front end built to work in tandem with the othub-runtime and otp-sync repositories. It is the front end of OTHub. With the right UX, the OTHub-React repository could be a streamline channel to get new and experienced Web3 enthusiasts into the world of verifiable Knowledge Assets.

OTHub React is:

  • A full service web application that provides greater insight into the activity and health of the DKG;
  • A user-friendly interface that encourages Knowledge Asset ownership and creation without needing your own node.

Instructions

Warning

Please be aware that the instructions below are for users with the othub-runtime running on the configured port. othub-runtime will have its own requirements as well.

Set up your working environment

git clone https://github.com/othub-io/othub-react
cd othub-react
cp .example-env .env
npm install

Below is the list of essential parameters:

Params Description
PORT The port the react frontend will be available on.
SSL_KEY_FILE The Private Key file for SSL.
SSL_CRT_FILE The certificate file for SSL.
REACT_APP_RUNTIME_HOST The IP:PORT or DNS name for the othub-runtime service.
REACT_APP_RUNTIME_HTTPS True or False whether you are using SSL to communicate with runtime.
REACT_APP_MINIMUM_ASK The minimum ask of the Alliance. Depreciating with Voting.

Copy the service file and start the react frontend

cp ~/othub-bot/othub-react.service /etc/systemd/system/
systemctl daemon-reload
systemctl start othub-react
systemctl enable othub-react

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages