Skip to content
This repository has been archived by the owner on Mar 13, 2019. It is now read-only.

fabric8-launcher/launcher-creator-frontend

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •