|
1 | | -# Microbetrace |
2 | 1 |  |
3 | 2 |
|
4 | | -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.0.0. |
5 | | - |
6 | | -## Development Environment |
7 | | - |
8 | | -Angular CLI: 7.3.10<br /> |
9 | | -Node: 12.22.12<br /> |
10 | | -Npm: 6.14.16<br /> |
11 | | -OS: darwin x64<br /> |
12 | | -Angular: 7.2.16<br /> |
13 | | -... animations, common, compiler, compiler-cli, core, forms<br /> |
14 | | -... language-service, platform-browser, platform-browser-dynamic<br /> |
15 | | -... router<br /> |
16 | | - |
17 | | -Package Version |
18 | | ------------------------------------------------------------ |
19 | | -@angular-devkit/architect 0.13.10<br /> |
20 | | -@angular-devkit/build-angular 0.13.10<br /> |
21 | | -@angular-devkit/build-optimizer 0.13.10<br /> |
22 | | -@angular-devkit/build-webpack 0.13.10<br /> |
23 | | -@angular-devkit/core 7.3.10<br /> |
24 | | -@angular-devkit/schematics 7.3.10<br /> |
25 | | -@angular/cdk 7.3.2<br /> |
26 | | -@angular/cli 7.3.10<br /> |
27 | | -@angular/material 7.3.2<br /> |
28 | | -@ngtools/webpack 7.3.10<br /> |
29 | | -@schematics/angular 7.3.10<br /> |
30 | | -@schematics/update 0.13.10<br /> |
31 | | -rxjs 6.3.3<br /> |
32 | | -typescript 3.2.4<br /> |
33 | | -webpack 4.29.0 |
34 | | - |
35 | | - |
36 | | -## Development server |
37 | | - |
38 | | -Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. |
39 | | - |
40 | | -## Code scaffolding |
41 | | - |
42 | | -Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. |
43 | | - |
44 | | -## Build |
45 | | - |
46 | | -Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. |
47 | | - |
48 | | -## Running unit tests |
49 | | - |
50 | | -Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). |
51 | | - |
52 | | -## Running end-to-end tests |
53 | | - |
54 | | -Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). |
55 | | - |
56 | | -## Build angular app on personal github account using gh-pages |
57 | | - |
58 | | -1. Fork repo to personal account. |
59 | | -2. Navigate to settings of forked repo. |
60 | | -3. Go to pages in the sidebar. |
61 | | -4. Source should be gh-pages branch and the root folder. |
62 | | - |
63 | | -## Update angular web app |
64 | | - |
65 | | -1. Checkout angularMigration branch of forked repo. |
66 | | -2. Run npm i angular-cli-ghpages --save-dev (Only if you dont already have it. This will install globally) |
67 | | -3. Run an npm install to get node modules if not done yet. |
68 | | -4. Make changes to the webapp and test locally. |
69 | | -5. Run ng build --prod --optimization=false --base-href "https://YOURusername.github.io/MicrobeTrace/" |
70 | | -6. Run npx ngh --dir dist/Microbetrace |
71 | | -7. Updates will be visible in 5-10 minutes. |
72 | | - |
73 | | -IMPORTANT before building dist folder - If adding new assets that are loaded via filepath in the app (.ie src="assets/images/Logo.png"), follow these steps: |
74 | | -1. Add the asset filepath to the "assets" array in the angular.json file. |
75 | | -2. When referencing the asset in the code, modify the filepath to use the appRootUrl() function, which depending on whether the app is running locally or online, generates the correct path to the root where the assets are located. For example, when loading a newly imported image, I should make the "src" value [src]="appRootUrl() + 'assets/images/Logo.png'", instead of src="assets/images/Logo.png". |
76 | | - |
77 | | -## Further help |
78 | | - |
79 | | -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). |
| 3 | +# MicrobeTrace [](https://doi.org/10.1101/2020.07.22.216275) |
| 4 | + |
| 5 | +*The Visualization Multitool for Molecular Epidemiology and Bioinformatics* |
| 6 | + |
| 7 | +Developed By ([some folks](https://github.com/CDCgov/MicrobeTrace/blob/master/humans.txt) at) CDC. |
| 8 | + |
| 9 | +## To Use MicrobeTrace: |
| 10 | + |
| 11 | +* **[Launch MicrobeTrace](https://microbetrace.cdc.gov/MicrobeTrace/)** |
| 12 | +* [Download Sample Data](https://github.com/CDCgov/MicrobeTrace/raw/master/demo/MicrobetraceDemoData.zip) |
| 13 | +* [Download Sample COVID Data](https://github.com/CDCgov/MicrobeTrace/raw/master/demo/COVID%20Dummy%20Data.zip) |
| 14 | +* [View the Help Wiki](https://github.com/CDCgov/MicrobeTrace/wiki) |
| 15 | +* [Read the Latest Manual](https://github.com/CDCgov/MicrobeTrace/raw/master/docs/MicrobeTrace_Manual.pdf) |
| 16 | +* [Watch and follow along with the webinar](https://www.youtube.com/watch?v=5E-_Kb7yvHU) |
| 17 | +* [Watch how to use MicrobeTrace for COVID-19](https://www.youtube.com/watch?v=he0Yq5yvToc) |
| 18 | +* [Cite MicrobeTrace](https://github.com/CDCgov/MicrobeTrace/wiki/Cite-MicrobeTrace) |
| 19 | + |
| 20 | +## To Spread the Word: |
| 21 | + |
| 22 | +* [View the MicrobeTrace Flyer](https://github.com/CDCgov/MicrobeTrace/blob/master/docs/MicrobeTrace%20Flyer_Sept_2019.pdf) |
| 23 | +* [Read our Reports](https://medium.com/microbetrace-reports/latest) |
| 24 | +* [Connect with our User Community](https://www.reddit.com/r/MicrobeTrace/) |
| 25 | + |
| 26 | +## To Help Us Build: |
| 27 | + |
| 28 | +* [Report Bugs or Request Features](https://github.com/CDCgov/MicrobeTrace/issues) |
| 29 | +* [Request Access to Our Slack](mailto:microbetrace@cdc.gov?subject=Slack%20Request&body=Hello!%0AI'd%20like%20an%20invitation%20to%20join%20the%20MicrobeTrace%20Slack%20Channel%2C%20please.%0AThank%20you!) |
| 30 | +* [Deploy Your Own Instance of MicrobeTrace](https://github.com/CDCgov/MicrobeTrace/wiki/z-Deployment) |
| 31 | +* [Help us Develop MicrobeTrace](https://github.com/CDCgov/MicrobeTrace/wiki/z-Development) |
| 32 | + |
| 33 | +## Public Domain |
| 34 | +This project constitutes a work of the United States Government and is not |
| 35 | +subject to domestic copyright protection under 17 USC § 105. This project is in |
| 36 | +the public domain within the United States, and copyright and related rights in |
| 37 | +the work worldwide are waived through the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/). |
| 38 | +All contributions to this project will be released under the CC0 dedication. By |
| 39 | +submitting a pull request you are agreeing to comply with this waiver of |
| 40 | +copyright interest. |
| 41 | + |
| 42 | +## License |
| 43 | +The project utilizes code licensed under the terms of the Apache Software |
| 44 | +License and therefore is licensed under ASL v2 or later. |
| 45 | + |
| 46 | +This program is free software: you can redistribute it and/or modify it under |
| 47 | +the terms of the Apache Software License version 2, or (at your option) any |
| 48 | +later version. |
| 49 | + |
| 50 | +This program is distributed in the hope that it will be useful, but WITHOUT ANY |
| 51 | +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 52 | +PARTICULAR PURPOSE. See the Apache Software License for more details. |
| 53 | + |
| 54 | +You should have received a copy of the Apache Software License along with this |
| 55 | +program. If not, see http://www.apache.org/licenses/LICENSE-2.0.html |
| 56 | + |
| 57 | +## Privacy |
| 58 | +This project contains only non-sensitive, publicly available data and |
| 59 | +information. All material and community participation is covered by the |
| 60 | +Surveillance Platform [Disclaimer](https://github.com/CDCgov/template/blob/master/DISCLAIMER.md) |
| 61 | +and [Code of Conduct](https://github.com/CDCgov/template/blob/master/code-of-conduct.md). |
| 62 | +For more information about CDC's privacy policy, please visit [http://www.cdc.gov/privacy.html](http://www.cdc.gov/privacy.html). |
| 63 | + |
| 64 | +## Contributing |
| 65 | +Anyone is encouraged to contribute to the project by [forking](https://help.github.com/articles/fork-a-repo) |
| 66 | +and submitting a pull request. (If you are new to GitHub, you might start with a |
| 67 | +[basic tutorial](https://help.github.com/articles/set-up-git).) By contributing |
| 68 | +to this project, you grant a world-wide, royalty-free, perpetual, irrevocable, |
| 69 | +non-exclusive, transferable license to all users under the terms of the |
| 70 | +[Apache Software License v2](http://www.apache.org/licenses/LICENSE-2.0.html) or |
| 71 | +later. |
| 72 | + |
| 73 | +Before you get started, please read the [Developer's Guide to MicrobeTrace.](https://github.com/CDCgov/MicrobeTrace/wiki/z-Development) |
| 74 | + |
| 75 | +All comments, messages, pull requests, and other submissions received through |
| 76 | +CDC including this GitHub page are subject to the [Presidential Records Act](http://www.archives.gov/about/laws/presidential-records.html) |
| 77 | +and may be archived. Learn more at [http://www.cdc.gov/other/privacy.html](http://www.cdc.gov/other/privacy.html). |
| 78 | + |
| 79 | +## Records |
| 80 | +This project is not a source of government records, but is a copy to increase |
| 81 | +collaboration and collaborative potential. All government records will be |
| 82 | +published through the [CDC web site](http://www.cdc.gov). |
| 83 | + |
| 84 | +## Notices |
| 85 | +Please refer to [CDC's Template Repository](https://github.com/CDCgov/template) |
| 86 | +for more information about [contributing to this repository](https://github.com/CDCgov/template/blob/master/CONTRIBUTING.md), |
| 87 | +[public domain notices and disclaimers](https://github.com/CDCgov/template/blob/master/DISCLAIMER.md), |
| 88 | +and [code of conduct](https://github.com/CDCgov/template/blob/master/code-of-conduct.md). |
0 commit comments