1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
Go to file
2019-05-16 11:38:28 -04:00
__mocks__ test fixup 2019-01-03 17:53:37 -05:00
__tests__ update tests based on i18n changes 2019-05-16 11:38:28 -04:00
build/locales recompile strings to fix Foo being displayed instead of My View 2019-02-20 09:41:38 -05:00
dist use a few more pf-core components 2018-09-26 21:39:04 -04:00
images Add help dropdown and about modal 2018-11-19 22:53:05 -05:00
src update tests based on i18n changes 2019-05-16 11:38:28 -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 i18n contributing guidelines 2019-05-15 11:20:20 -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 Add styled-components library and its babel plugin. 💅 2019-05-10 11:03:16 -04:00
package.json Add styled-components library and its babel plugin. 💅 2019-05-10 11:03:16 -04:00
README.md update i18n contributing guidelines 2019-05-15 11:20:20 -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 8.x LTS, npm 5.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.jsx

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