/scully

Scully is the Front End UI of the Jenkins X workshop

Primary LanguageJavaScript

The Jenkins X Files - Scully

scully is the frontend side of The Jenkins X Files - the Jenkins X workshop. You can also see Mulder, the backend side.

It's a React application that provides a (very) basic UI with one page.

  • http://127.0.0.1:3000 to go to the UI

Dependencies:

  • Mulder - to store the quotes

Commands

Install dependencies

  • npm install

Dev env

  • npm run dev

When your running npm run dev, you can add an env variables

  • SERVER (string): url of the mulder instance. Default: http://127.0.0.1:8080

Building

  • npm run build

Running

  • npm start

Env variables:

When your running npm start, you can add an env variables

  • SERVER (string): url of the mulder instance. Default: http://127.0.0.1:8080
  • PORT (string): node server port. Default: 3000

For example

SERVER=http://mulderscully.com node server.js

Unit Tests

  • npm test

E2E Tests

  • npm run e2e

Env variables:

When your running npm run e2e, you can add an env variables

  • UI (string): url of the scully instance. Default: http://127.0.0.1:3000

For example

UI=http://127.0.0.1:8000/ npm run e2e

Thanks

This project was bootstrapped with Create React App.