Sign inSign up

bothubit/bothub-webapp

By bothubit

•Updated over 4 years ago

Image
0

10K+

bothubit/bothub-webapp repository overview

Bothub

BotHub is an open platform for predicting, training and sharing NLU (Natural Language Understanding) datasets in multiple languages in a cooperative way.

With BotHub, you can not only create NLP datasets, but you can also access, use and evolve datasets that were already built by other users in the community!

These collaboration methods + integration options makes it easier for the user to apply NLU concepts in different platforms and contexts.

Build Status⁠ Coverage Status Node⁠ License⁠

⁠Bothub Webapp

bothub IMG

⁠What's here

This repo is the Front-end repo for all Bothub-related projects. It hosts the documentation and other misc. resources for Bothub. Code for other projects, like the Engine⁠, NLP Worker⁠, NLP API⁠ and NLP On Demand⁠, are hosted in other repositories.

⁠Contents

⁠Documentation

All documentation available on docs.bothub.it⁠.

⁠Get Started

First, clone this repository

git clone [email protected]:bothub-it/bothub-webapp.git

⁠Development Workflow

To start running bothub use this commands

Use yarn commands to install, start, build, lint and test-watch.

CommandDescription
yarn installInstall dependencies
yarn startserve with hot reload at localhost:8080
yarn buildBuild for production with minification
yarn build --reportBuild for production and view the bundle analyzer report
yarn lintShow lint warnings and errors
yarn testRun all tests
yarn test-watchRun test in watch mode
⁠Environment Variables

You can set environment variables in your OS or write on .env file.

VariableTypeDefaultDescription
API_BASE_URLstringIn development mode is http://localhost:8000/apibothub-engine⁠ HTTP service API URL
BOTHUB_NLP_BASE_URLstringIn development mode is http://localhost:2657/bothub-nlp⁠ Bothub NLP service URL
BOTHUB_WEBAPP_BASE_URLstringIn development mode is http://localhost:8080/bothub-webapp⁠ Bothub Webapp service URL
SUPPORTED_LANGUAGESstringen|ptCheck description and formatation in Supported_Languages environment variable⁠
VERSION_ENABLEDbooleanIn development mode is falseShould Bothub show version belong to each repository*
MAILCHIMP_LOGINstringEmptyCheck MailChimp⁠ subscribe LOGIN URL*
MAILCHIMP_DATACENTERstringEmptyCheck MailChimp⁠ subscribe DATACENTER URL*
MAILCHIMP_USER_IDstringEmptyCheck MailChimp⁠ subscribe USER ID URL*
MAILCHIMP_LIST_IDstringEmptyCheck MailChimp⁠ subscribe LIST ID URL*
BOTHUB_WEBAPP_USE_SENTRYbooleanIn development mode is false, in production mode is trueEnable sentri.io⁠ tracking*
BOTHUB_WEBAPP_SENTRYstringEmptySentry.io DNS*
BOTHUB_WEBAPP_USE_HOTJARbooleanIn development mode is false, in production mode is trueEnable Hotjar⁠ tracking*
BOTHUB_WEBAPP_HOTJAR_IDstringEmptyHotjar⁠ ID*
BOTHUB_WEBAPP_LIGHTHOUSE_KEYstringEmptyHelpdocs Lighthouse widget⁠ API key*
BOTHUB_WEBAPP_LIGHTHOUSE_ALGORITHM_ARTICLE_IDstringEmptyHelpdocs algorithm article id *
MailChimp subscribe URL: `https://[MAILCHIMP_LOGIN].[MAILCHIMP_DATACENTER].list-manage.com/subscribe/post?u=[MAILCHIMP_USER_ID]&id=[MAILCHIMP_LIST_ID]`

⁠Contributing

⁠Guidelines

If you want to contribute with bothub's projects we made a guideline to help you. see here contributing guidelines⁠ for the appropriate contribution.

⁠License

Tag summary

Content type

Image

Digest

Size

96.8 MB

Last updated

over 4 years ago

docker pull bothubit/bothub-webapp:v3.0.1