Development

Clone the repository and install all dependencies:

git clone git@github.com:heartexlabs/label-studio.git
cd label-studio
npm install

Now you can make any changes to the code or add your custom tags.

Run a development build

npm run start

And open your browser at http://localhost:3000

A good introduction point is to study src/env/development.js. That file defines a labeling config for the studio as well as creates the environment.

To change the configuration of the project you need to assign the value to the variable data:

const data = Sentiment;

Create a production build

npm run build-bundle

Generates the compiled version of label studio. This compiled version needs to be included in your app.