/launcher-creator-frontend

The quickest way to create and launch an app on the cloud.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Launcher Creator Frontend

The quickest way to create and launch a full-featured service in the cloud.

Build Status

You can try the demo there: http://launcher-creator-frontend.devtools-dev.ext.devshift.net/

Doc to setup CD on OpenShift

Dev

Components documentation (style-guide)

https://fabric8-launcher.github.io/launcher-creator-frontend/

Use only mock data

$ yarn install
$ yarn start:mock-api

Use staging backends

$ yarn install
$ yarn start:staging-api

Use local backends

$ yarn install
$ yarn start:local-api

By default authentication will be disabled in this mode. If you want to use KeyCloak set the following environment vars:

REACT_APP_AUTHENTICATION=keycloak
REACT_APP_KEYCLOAK_CLIENT_ID=<clientId>
REACT_APP_KEYCLOAK_REALM=<realm>
REACT_APP_KEYCLOAK_URL=<url>

Use a custom environment

Create a .env.custom file for your personal use (it will be gitignored)

$ yarn install
$ yarn start:custom

Test

$ yarn install
$ yarn test

Build

$ yarn install
$ yarn build

Serve build

$ yarn install
$ yarn build
$ yarn serve

Patternfly doc

http://patternfly-react.surge.sh/patternfly-4/components/

Code directory structure

The app is stuctured in 4 directories:

  • src/shared: our own libraries (that are generic and could be in other repo)
  • src/app/api: our apis (no redux, no react only services to access the backend)
  • src/app/components: our app components (only react no redux at all)
  • src/app/redux: the binding between the components and the api + the app state