Installer
Get UI Studio, install it with Node.js or Docker and open it in your browser.
Cette page n’est pas encore traduite. Tu lis l’original.
Note: Total.js UI Studio is available only with a Total.js Enterprise subscription. See the UI Studio page on totaljs.com.
UI Studio is a Node.js app. It needs no database server: it keeps its data in files in its own folder.
What you need
- The UI Studio source code. You receive it from Total.js with a Total.js Enterprise license.
- Node.js on the computer or server, or Docker.
- Internet access from the browser. The screens load their scripts and styles from the Total.js CDN.
Install with Node.js
- Unpack the source code into a folder, for example
uistudio. - Open a terminal in that folder and install the dependencies:
cd uistudio
npm install- Open the file
configand seturlto the address where people will open UI Studio, for examplehttp://127.0.0.1:8000on your own computer. See Set the public address. - Start the app:
npm start- Open
http://127.0.0.1:8000in your browser.
npm start runs the app on port 8000. To use another port, start it with the port number:
node index.js 8080Install with Docker
The source code includes a Dockerfile and a docker-compose.yaml file. In the folder of the source code, run:
docker compose upThe app installs its dependencies, starts and listens on port 8000. The folder of the source code is mounted into the container, so your data stays in that folder.