Files
awx/awx/ui_next
softwarefactory-project-zuul[bot] de78d5d63b Merge pull request #4505 from marshmalien/awx-pf-jt-project-field
Add project single select input to job template form

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-08-16 21:57:24 +00:00
..
2019-08-13 17:05:47 -04:00
2019-07-01 19:50:16 -04:00
2019-08-01 16:21:19 -04:00

AWX-PF

Requirements

  • node 10.x LTS, npm 6.x LTS, make, git

Usage

  • git clone git@github.com:ansible/awx.git
  • cd awx/ui_next
  • npm install
  • npm start
  • visit https://127.0.0.1:3001/

note: These instructions assume you have the awx development api server up and running at localhost:8043. You can use a different backend server with the TAGET_HOST and TARGET_PORT environment variables when starting the development server:

# use a non-default host and port when starting the development server
TARGET_HOST='ec2-awx.amazonaws.com' TARGET_PORT='443' npm run start

Unit Tests

To run the unit tests on files that you've changed:

  • npm test

To run a single test (in this case the login page test):

  • npm test -- src/screens/Login/Login.test.jsx

note: Once the test watcher is up and running you can hit a to run all the tests