-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using LabelStudio frontend only #6957
Comments
Hello, Thank you for contacting Label Studio, I am afraid to inform you that as of Label Studio 1.11.0, the standalone LSF npm package was officially deprecated and is no longer maintained or supported as a separate distribution. Now, Label Studio is developed as an integrated monorepo where the backend and frontend are tightly coupled. If you truly need to run LSF without the official backend, you have two main approaches:
• Manually build the frontend portion for your own environment. • But please note, this requires a custom integration layer between the frontend and any backend you develop yourself. Label Studio no longer provides official documentation for this setup. • However, these versions receive no further updates or fixes, and you’d still have to handle all backend logic and data handling yourself.
|
Thanks for the response, I see we have to install the packages inside web/ folder and then run the server from there to run the frontend part of it? Is that true ? I have to use the frontend package and deploy it on higher environments so that content engineers can use it. Can you provide any optimal solution for this ? |
Hello Nikhil, Thanks for following up on this. With the shift starting in Label Studio 1.11.0, the standalone LSF npm package is deprecated and the project is now maintained as an integrated monorepo. That means the frontend and backend are now tightly coupled, and the dedicated commands you might expect in the web/libs/editor folder (like in a separate package.json for a standalone build) aren’t available.
Use the develop branch (or the branch where the build process is updated) because it contains the latest structure for the frontend. In recent setups, the frontend assets can be found in the integrated folder such as label-studio/label_studio/frontend.
You won’t find dedicated run commands in web/libs/editor because it isn’t intended to run standalone. Instead, go to the root (or web/) of the repository and run the installation/build commands (e.g., using
After building, the resulting static assets (JS/CSS files) are typically placed under a path like label_studio/frontend/dist/lsf/. You can then extract these files and deploy them on your environment as a static site, which your content engineers can use.
Thank you,
|
Hi, I was using LabelStudio frontend in my project as a npm library. I understand that it was deprecated last year. And I am seeing that now in this repo we have frontend and backend both. Is there any way, I can use LabelStudio frontend only without backend and I can aur custom backend for this ?
The text was updated successfully, but these errors were encountered: