label-studio icon indicating copy to clipboard operation
label-studio copied to clipboard

I am a front-end developer and I just want to pull the web directory. Is it possible to run it?

Open Colorful-Toujours opened this issue 7 months ago • 5 comments

I am a front-end developer and I just want to pull the web directory. Is it possible to run it?

Colorful-Toujours avatar May 28 '25 13:05 Colorful-Toujours

Hello,

Thank you for contacting Label Studio,

Do you mean you'd like to pull only the front-end part of the codebase?

Thank you!

Comment by Oussama Assili Workflow Run

heidi-humansignal avatar May 28 '25 14:05 heidi-humansignal

Yes

Colorful-Toujours avatar May 28 '25 14:05 Colorful-Toujours

Hello,

Please be informed If you want to run the open-source version of Label Studio, we recommend cloning the full GitHub repository and building from source. That repo includes the label-studio CLI, Dockerfile, build scripts, frontend and backend code in one place:

git clone https://github.com/HumanSignal/label-studio.gitcd label-studiodocker build -t label-studio:latest .

This ensures you have the correct label-studio entrypoint and a compatible environment for OS.

Best Regards!

Comment by Oussama Assili Workflow Run

heidi-humansignal avatar May 29 '25 11:05 heidi-humansignal

Hello, may I ask if your issue has been resolved, i also want to use the latest version in my project

sumdion avatar Jun 06 '25 07:06 sumdion

Hello,

Please note that we recommend using the full Github Repository. We no longer support dedicated Front end repo.

Please let me know if you have additional questions!

Comment by Oussama Assili Workflow Run

heidi-humansignal avatar Jun 06 '25 13:06 heidi-humansignal

You can run the code locally (for dev) as follows, download the repo

For FE

cd web
yarn install 
make frontend-dev

For BE:

poetry install 
poetry shell
FRONTEND_HOSTNAME=http://localhost:8010 FRONTEND_HMR=true LOG_LEVEL=DEBUG DEBUG=true label-studio -b

you can also enable/disable feature flags by passing them in the BE command. E.g. let's say I want to enable the following

FF_TIMESERIES_SYNC=true 
fflag_feat_optic_2123_audio_spectrograms=1 
fflag_feat_front_bros58_timeseries_multichannel_short=1 

use this

poetry shell
FRONTEND_HOSTNAME=http://localhost:8010 FRONTEND_HMR=true LOG_LEVEL=DEBUG DEBUG=true FF_TIMESERIES_SYNC=true fflag_feat_optic_2123_audio_spectrograms=1 fflag_feat_front_bros58_timeseries_multichannel_short=1 label-studio -b

cloudmark avatar Jun 20 '25 10:06 cloudmark

Hello,

Running only the front-end is not feasible as it relies on the back-end server.

You can refer to my approach:

  1. Run back-end server. Refer to https://labelstud.io/guide/install#Install-from-source.
  2. And then run front-end part:
    cd web
    yarn install
    yarn watch
    
  3. Accessing http://localhost:8080, so you can create an account and login to pages of front-end part.

Best Regards!

fadeaway1680 avatar Aug 13 '25 20:08 fadeaway1680