1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
Go to file
2019-06-14 14:46:48 -04:00
__mocks__ test fixup 2019-01-03 17:53:37 -05:00
__tests__ add test coverage for auth utils 2019-06-14 13:01:02 -04:00
build/locales Convert Tower logo/strings to AWX (#253) 2019-06-10 14:31:12 -04:00
dist Convert Tower logo/strings to AWX (#253) 2019-06-10 14:31:12 -04:00
images Convert Tower logo/strings to AWX (#253) 2019-06-10 14:31:12 -04:00
src Add Job API model 2019-06-14 14:46:48 -04:00
.eslintignore update eslint config and add eslint ignore 2019-01-24 11:36:18 -05:00
.eslintrc 158 paginated data list (#180) 2019-04-29 10:08:50 -04:00
.gitignore Moves locales out of src and into build dir. Changes npm commands from extract/compile to extract-strings/compile-strings 2018-12-12 11:28:29 -05:00
.linguirc Moves locales out of src and into build dir. Changes npm commands from extract/compile to extract-strings/compile-strings 2018-12-12 11:28:29 -05:00
babel.config.js Add styled-components library and its babel plugin. 💅 2019-05-10 11:03:16 -04:00
CONTRIBUTING.md update content loading and error handling 2019-06-14 13:00:37 -04:00
jest.config.js Context test tools (#168) 2019-04-18 10:03:06 -04:00
jest.setup.js remove setTimeout hack for testing api.login Login.jsx handlers 2018-10-31 12:04:59 -04:00
package-lock.json Merge pull request #211 from ansible/upgrade-node-v8-to-node-v10 2019-06-04 10:54:24 -04:00
package.json Standardize chip height (#213) 2019-05-28 08:49:03 -04:00
README.md update content loading and error handling 2019-06-14 13:00:37 -04:00
webpack.config.js Update @patternfly/patternfly-next references to @patternfly/patternfly 2019-02-19 16:00:11 -05:00

AWX-PF

Requirements

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

Usage

  • git clone git@github.com:ansible/awx-pf.git
  • cd awx-pf
  • 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 -- __tests__/pages/Login.test.jsx

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