GithubHelp home page GithubHelp logo

e7dal / ansible-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ansible/ansible-ui

0.0 1.0 0.0 40.75 MB

Ansible UI

License: Apache License 2.0

Shell 0.01% JavaScript 0.43% TypeScript 99.45% CSS 0.07% HTML 0.01% Dockerfile 0.03%

ansible-ui's Introduction

Ansible UI

UI projects for Ansible.

Getting Started

  1. Prerequisites

    • Node 18.x (recommended)
    • NPM 8.x (recommended)

    Note: The project should with older versions of node and npm but may require regenerating the package-lock.json.

  2. Clone Repository

    git clone [email protected]:ansible/ansible-ui.git
  3. Install Package Dependencies

    npm ci

Environment Variables

Environment Variable Description
AWX_SERVER The AWX server (protocol://host:port).
AWX_USERNAME The AWX server username. (only used by Cypress)
AWX_PASSWORD The AWX server password. (only used by Cypress)
AWX_API_PREFIX The AWX server API prefix. (/api/v2)
AWX_ROUTE_PREFIX The AWX UI route prefix. (/awx)
EDA_SERVER The EDA server (protocol://host:port).
EDA_USERNAME The EDA server username. (only used by Cypress)
EDA_PASSWORD The EDA server password. (only used by Cypress)
EDA_API_PREFIX The EDA server API prefix. (/api/eda/v1)
EDA_ROUTE_PREFIX The EDA UI route prefix. (/eda)
HUB_SERVER The HUB server (protocol://host:port).
HUB_USERNAME The HUB server username. (only used by Cypress)
HUB_PASSWORD The HUB server password. (only used by Cypress)
HUB_API_PREFIX The HUB server API prefix. (/api/automation-hub/)
HUB_ROUTE_PREFIX The HUB UI route prefix. (/hub)
HUB_GALAXYKIT_COMMAND The galaxykit command. (galaxykit --ignore-certs)
export AWX_SERVER=http://localhost:8043
export AWX_USERNAME='my-user'
export AWX_PASSWORD='my-password'

export EDA_SERVER=http://localhost:8000
export EDA_USERNAME='my-user'
export EDA_PASSWORD='my-password'

export HUB_SERVER=http://localhost:5001
export HUB_USERNAME='my-user'
export HUB_PASSWORD='my-password'

Note: For Hub integration tests: Check that the Ansible binary was correctly installed under the Python directory. Add it to the PATH variable. This is needed for the galaxykit commands that create hub resources for tests.

NPM Scripts

NPM Script Description
npm run awx Run AWX on http://localhost:4101
npm run e2e:awx Run AWX E2E tests from Cypress UI
npm run e2e:run:awx Run AWX E2E tests from CLI
npm run component:awx Run AWX component tests from Cypress UI
npm run component:run:awx Run AWX component tests from CLI
npm run hub Run HUB on http://localhost:4102
npm run e2e:hub Run HUB E2E tests from Cypress UI
npm run e2e:run:hub Run HUB E2E tests from CLI
npm run component:hub Run HUB component tests from Cypress UI
npm run component:run:hub Run HUB component tests from CLI
npm run eda Run EDA on http://localhost:4103
npm run e2e:eda Run EDA E2E tests from Cypress UI
npm run e2e:run:eda Run EDA E2E tests from CLI
npm run component:eda Run EDA component tests from Cypress UI
npm run component:run:eda Run EDA component tests from CLI
npm run tsc Run Typescript compiler checks
npm run eslint Run eslint checks
npm run prettier Run prettier format checks
npm run prettier:fix Fix prettier format of files

Documentation

Code of Conduct

We ask all of our community members and contributors to adhere to the Ansible code of conduct. If you have questions or need assistance, please reach out to our community team at [email protected]

ansible-ui's People

Contributors

akus062381 avatar alex-izquierdo avatar alexscorey avatar aratti96 avatar benthomasson avatar daphnemaeve avatar ddonahue007 avatar eclarizio avatar gh-action-bump-version avatar github-actions[bot] avatar hendersonreed avatar himdel avatar jamestalton avatar keithjgrant avatar kialam avatar kurokobo avatar lgalis avatar mabashian avatar marshmalien avatar milanpospisil avatar msmagnanijr avatar nixocio avatar prat98 avatar rooftopcellist avatar shaiahwren avatar skochay330 avatar vidyanambiar avatar vishsanghishetty avatar zitanemeckova avatar

Watchers

 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.