-
Notifications
You must be signed in to change notification settings - Fork 1
Updating README.md #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,49 @@ | ||
| # apphub | ||
| # AppHub | ||
|
|
||
| ## Project setup | ||
| [](https://snyk.io/test/github/esdc-devx/AppHub?targetFile=app-hub-api%2Fpackage.json) | ||
| [](https://dev.azure.com/dx-team/AppHub/_build/latest?definitionId=2&branchName=master) | ||
|
|
||
| A dashboard for displaying information on systems department wide. | ||
|
|
||
| ## Run Integration and a11y Tests | ||
|
|
||
| Run the following command in the `integration-tests` folder. | ||
|
|
||
| ### Setup Tests | ||
| ``` | ||
| npm ci | ||
| ``` | ||
|
|
||
| ### Run Tests | ||
| Run the following command to test the app in electron headless mode | ||
| ``` | ||
| npx cypress run | ||
| ``` | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Once I was actually able to get this running do to missing dependencies https://docs.cypress.io/guides/guides/continuous-integration.html#Advanced-setup
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I updated the readme
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did you push your change, i don't see it... |
||
| _If running locally a video copy of the tests will be put in `integration-tests/cypress/videos` to disable this functionality add the flag `--config video=false` when running tests_ | ||
|
|
||
| Use the following command to view the tests in the Cypress Test Runner | ||
| ``` | ||
| npx cypress open | ||
| ``` | ||
|
|
||
| ## Run System | ||
|
|
||
| The following command will build and bring up the API and GUI servers | ||
| ``` | ||
| ./start-system.sh | ||
| ``` | ||
|
|
||
| The following command will bring down the system | ||
| ``` | ||
| ./stop-system.sh | ||
| ``` | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| ## GUI Project Setup | ||
| Run the following command in the `app-hub-gui` folder. | ||
| ``` | ||
| npm install | ||
| ``` | ||
|
|
@@ -15,25 +58,26 @@ npm run serve | |
| npm run build | ||
| ``` | ||
|
|
||
| ### Run your tests | ||
| ``` | ||
| npm run test | ||
| ``` | ||
|
|
||
| ### Lints and fixes files | ||
| ``` | ||
| npm run lint | ||
| ``` | ||
|
|
||
| ### Run your end-to-end tests | ||
| ``` | ||
| npm run test:e2e | ||
| ``` | ||
|
|
||
| ### Run your unit tests | ||
| ``` | ||
| npm run test:unit | ||
| ``` | ||
|
|
||
| ### Customize configuration | ||
| See [Configuration Reference](https://cli.vuejs.org/config/). | ||
|
|
||
| ## API Project setup | ||
| Run the following command in the `app-hub-api` folder. | ||
| ``` | ||
| npm install | ||
| ``` | ||
|
|
||
| ### Compile and hot-reloads for development | ||
| ``` | ||
| node index.js | ||
| ``` | ||
Uh oh!
There was an error while loading. Please reload this page.