Code Monkey home page Code Monkey logo

flanksource-ui's Introduction

Flanksource Frontend

Contributing

See javascript style guide

Local Setup

  1. Install nvm
  2. Run nvm install in the root directory of the repo, this will install the nodejs version needed for the front end setup. The version is set in .nvmrc
  3. Run npm install this will install all dependencies
  4. Create .env.local file and copy .env file content to .env.local file and set the flags values as mentioned below
    SKIP_PREFLIGHT_CHECK=true
    PORT=3004
    # ORY_KRATOS_URL=http://kratos.canary.lab.flanksource.com/
    # NEXT_PUBLIC_APP_DEPLOYMENT=CANARY_CHECKER
    NEXT_PUBLIC_WITHOUT_SESSION=false
    BACKEND_URL=https://incident-commander.canary.lab.flanksource.com/
    ENV=localhost
    
    
  5. Run npm run dev to launch the front end application (note: api calls will be proxied to dev environment here).
  6. If you don't have any account to login please create an account by going to the page http://localhost:3000/registration.
  7. If you have account login using that account by going to the page http://localhost:3000/login.

Svg files

Run them through https://github.com/svg/svgo to make them compatible with react. See: https://stackoverflow.com/questions/59820954/syntaxerror-unknown-namespace-tags-are-not-supported-by-default

Scripts

See package.json scripts.

flanksource-ui's People

Contributors

prashanth-nelli avatar moshloop avatar ciju avatar mainawycliffe avatar johnflank avatar dmitriimelnikonix avatar oleksandrsekker avatar johngohrw avatar vincentwild69 avatar kaitou786 avatar richardsaseun14 avatar sagarrchauhan avatar yashmehrotra avatar paddatrapper avatar pulkitbanta avatar zzz1ck avatar aryaminus avatar saienkoo avatar desmondsanctity avatar

Stargazers

Roman 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.