- install nodejs dependencies:
npm install
- Optional: Since the labelstudio frontend npm package is outdated, we use a custom build. The code is located at: static/src. In case you want to change this and create your own custom build:
- Follow the instructions on the labelstud.io website
- move the created
main.js
intostatic/src/js/
- move the created
main.css
intostatic/dist/css/
- Create Resources
- create stylesheet:
npx tailwindcss -i ./static/src/css/style.css -o ./static/dist/css/style.css
- create javascript bundle:
npx webpack --config webpack.config.js
- create stylesheet: