GithubHelp home page GithubHelp logo

ambiguous48 / ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from temporalio/ui

1.0 1.0 0.0 3.73 MB

The next-generation UI for Temporal.

License: MIT License

JavaScript 4.12% HTML 0.22% Svelte 31.02% TypeScript 63.58% Shell 0.05% CSS 1.01%

ui's Introduction

Temporal UI

Nota bene: This is pre-release software.

Prerequisites

Temporal must be running in development. (See our documentation for details.)

Trying it out

After pulling down the lastest version of Temporal's docker-compose, you can start it up in experimental mode.

docker-compose -f docker-compose-ui-experimental.yml up -d

Trying it out: Bleeding edge

Starting the UI API server will give you a somewhat recent version on localhost:8080. If you want to use the most recent commit to main, you can spin up a bleeding-edge build as described below.

Once you have the prerequisites going, run the following:

npm run build:local
npm run preview:local

Developing

Developing the UI has the same prequisites as trying it out. Once you've created a project and installed dependencies with npm install, start the development server:

npm start

By default, the application will start up with a version of the UI for the local version of Temporal. You can start the UI for Temporal Cloud by setting the VITE_TEMPORAL_UI_BUILD_TARGET target to cloud. Alternatively, you can use either of the following scripts:

npm run dev:local
npm run dev:cloud

Building

The Temporal UI must be built for either the local version or Temporal Cloud. You must set the VITE_TEMPORAL_UI_BUILD_TARGET environment variable in order to build the assets. This will be set for you if you use either of the following npm scripts.

npm run build:local
npm run build:cloud

The resulting assets will be placed in either build-local or build-cloud respectively.

You can preview the built app with npm run preview, regardless of whether you installed an adapter. This should not be used to serve your app in production.

Configuration

Set these environment variables if you want to change their defaults

Variable Description Default Stage
VITE_API Temporal HTTP API address. Set to empty `` to use relative paths http://localhost:8080 Build
VITE_MODE Build target development Build

ui's People

Contributors

dependabot[bot] avatar feedmeapples avatar giantrobots avatar robholland avatar softwarecurator avatar stevekinney avatar swyxio avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.