1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
Go to file
2019-06-20 13:32:25 -04:00
__mocks__ test fixup 2019-01-03 17:53:37 -05:00
__tests__/util Reorganize file locations/directory structure (#270) 2019-06-19 11:41:14 -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 Remove Fragment 2019-06-20 12:01:43 -04:00
testUtils Reorganize file locations/directory structure (#270) 2019-06-19 11:41:14 -04:00
.eslintignore update eslint config and add eslint ignore 2019-01-24 11:36:18 -05:00
.eslintrc alias top-level imports 2019-06-19 11:45:57 -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 Updates to contributing doc (#280) 2019-06-20 13:32:25 -04:00
jest.config.js Merge pull request #276 from jlmitch5/testWatchFix 2019-06-20 08:25:56 -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 alias top-level imports 2019-06-19 11:45:57 -04:00
package.json alias top-level imports 2019-06-19 11:45:57 -04:00
README.md Reorganize file locations/directory structure (#270) 2019-06-19 11:41:14 -04:00
webpack.config.js alias top-level imports 2019-06-19 11:45:57 -04: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 -- testUtils/pages/Login.test.jsx

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