Coder Social home page Coder Social logo

ryandeussing / acs-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redhatinsights/acs-ui

0.0 1.0 0.0 280 KB

Build repo: https://github.com/RedHatInsights/acs-ui-build

License: Apache License 2.0

JavaScript 90.59% Shell 8.32% SCSS 0.29% HTML 0.80%

acs-ui's Introduction

acs-ui

ACS app for the consoledot platform that includes Patternfly 4 and shared Red Hat cloud service frontend components.

Initial access setup

In order to access the https://[env].foo.redhat.com in your browser, you have to add entries to your /etc/hosts file. This is a one-time setup that has to be done only once (unless you modify hosts) on each machine.

To setup the hosts file run following command:

npm run patch:hosts

If this command throws an error run it as a sudo:

sudo npm run patch:hosts

You should also set up the Red Hat squid proxy using this guide. Depending on what browser you use, choosing either Firefox, Chrome, or Safari would be a good choice.

Getting started

  1. npm install

  2. npm run start:beta

  3. Open browser in URL listed in the terminal output

Testing

npm run verify will run npm run lint (eslint) and npm test (Jest)

Definitions

  • stage - Development and Testing
  • prod - Production
  • qaprodauth - Same environment as stage but uses production SSO instead of stage SSO
  • beta - Some UI features or even services are in a pre-release or preview state. Usually only in stage.
  • stable - Non-beta stable version

Deploying

  • This repo uses Github Actions to build and deploy the webpack dist/ directory to another Github repo defined in .github/workflows
    • Pushing to the specified branches will push the build files to the following branches in the build repo:
      • main -> ci-beta -> qa-beta -> stage-beta
      • stable -> ci-stable -> qa-stable -> stage-stable
      • prod-beta -> prod-beta
      • prod-stable -> prod-stable

Branch links and syncing

These are the urls for each branch:

Beta

Stable

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.