GithubHelp home page GithubHelp logo

alecclarke / taskcluster-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from taskcluster/taskcluster-web

0.0 1.0 0.0 1.58 MB

The web UI for interacting with Taskcluster services

Home Page: https://taskcluster-web-styleguide.netlify.com/

License: Mozilla Public License 2.0

JavaScript 99.73% CSS 0.27%

taskcluster-web's Introduction

Taskcluster Web

This repository contains a collection of useful tools for use with Taskcluster. Generally, we strive to not add UI to Taskcluster components, but instead offer well documented APIs that can be easily consumed using a client library for Taskcluster.

Web Server

The taskcluster-web UI application relies on a server application in order to perform queries to the Taskcluster APIs. That repo is taskcluster-web-server. Clone that repo and follow the instructions for starting it prior to launching the web UI. You will need to launch the web-server in a terminal instance separate from the UI in order to run both simultaneously.

For development, the tc-web-server process must be serving on http://localhost:3050, but otherwise need not be publicly accessible. The development server for this repo will proxy requests as necessary to http://localhost:3050.

Environment

To get started local development, create a file in the root of the repo named .env with the following content, or whatever content you wish:

APPLICATION_NAME="Taskcluster"

You can optionally specify the port on which the development server serves with

PORT=9000

Auth0 Config

Note: At the preset, this web application relies on an Auth0 client for performing authenticated interactions with the Taskcluster APIs via the taskcluster-web-server. In order to perform this authentication flow locally, you will need the following environment variables. Specify them in your .env file and they will be picked up automatically when starting this web app:

APPLICATION_NAME="Taskcluster"
AUTH0_DOMAIN="auth.mozilla.auth0.com"
AUTH0_CLIENT_ID="29t2n3LKKnyTbGtWmfTkQpau0mp7QmMH"
AUTH0_REDIRECT_URI="http://localhost:5080/login"
AUTH0_RESPONSE_TYPE="token id_token"
AUTH0_SCOPE="openid profile"
PORT="5080"

This Auth0 client is real, but can only be used locally on localhost:5080, so the development server must be run with PORT=5080, and accessed at http://localhost:5080 in the browser.

Icons

You can browse a list of available icons at:

https://materialdesignicons.com/

These can be imported into the app by using the Pascal-cased name of the icon from the mdi-react package*. For example, if you would like to use the book-open-page-variant icon, you can import it with:

import BookOpenPageVariantIcon from 'mdi-react/BookOpenPageVariantIcon';

// ...

<BookOpenPageVariantIcon />

* We use this library because it provides substantially more icons with minimal file-system headaches.

taskcluster-web's People

Contributors

aimenbatool avatar ariellegordon avatar ccooper avatar djmitche avatar eliperelman avatar helfi92 avatar hemakshis avatar mike44441 avatar sonakshisaxena1 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.