Giter Site home page Giter Site logo

hanasim / botpress-studio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from botpress/studio

0.0 0.0 0.0 9.86 MB

The studio is the main interface you'll use to build and edit your chatbot.

Home Page: https://botpress.com/docs/quickstart#conversation-studio

JavaScript 4.10% TypeScript 74.98% CSS 0.14% HTML 0.06% SCSS 20.72%

botpress-studio's Introduction

Development workflow

Currently, it is not recommended to run the studio on its own. Therefore, you must start the Botpress Server, which will provide a couple of required parameters so the studio can work smoothly with the server.

We use Yarn v3 in this repository, so if you have errors while trying to build the repository, ensure you have the latest version installed: npm install -g yarn

  • Type yarn
  • Build everything using yarn build
  • Use yarn watch to start a watcher on both the backend and frontend
  • Type yarn package to generate a single executable file for every available OS

Like before, any changes made on the frontend will be available after a simple page refresh. Changes on the backend will require a server restart.

Since this package MUST be started from the Botpress Server, you need to set a special environment variable on the server so it can load the correct files. The variable is named DEV_STUDIO_PATH and must point to packages/studio-be/out. Watch out, path must be an abs path, env var doesn't support relative path.

As standalone (NOT RECOMMENDED)

The studio can be executed as a standalone application, but there are still a couple of things that will not work correctly.

When started as a standalone, these environment variables must be set:

  • BP_MODULES_PATH: Path to the modules folder of a Botpress installation
  • BP_DATA_FOLDER: Path to the data folder (bots/, global/)
  • BP_SERVER_URL: to determine

Release workflow

  1. Type yarn release <type> where type can be major, minor or patch
  2. Open a PR with all the files, when it is merged on baster, binaries will be produced and released

botpress-studio's People

Contributors

allardy avatar laurentlp avatar eff avatar davidvitora avatar rob-gordon avatar franklevasseur avatar ptrckbp avatar slvnperron avatar charlescatta avatar billsomen avatar samuelmasse avatar ierezell avatar sadda11asm avatar dependabot[bot] avatar daehli avatar sebburon avatar michaelmass avatar raid55 avatar rohankokkulabp avatar spg avatar mohsen220 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.