Awesome
coronavirus-tracker
🦠 A live tracker and visualization of the coronavirus (2019-nCoV). This is the website, which is a SPA using 🐻 EmberJS.
Live version
View the live version here: https://expdev07.github.io/coronavirus-tracker.
API
The API used for collecting data can be found here: https://github.com/ExpDev07/coronavirus-tracker-api.
Prerequisites
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
Installation
git clone https://github.com/ExpDev07/coronavirus-tracker.git
cd coronavirus-tracker
npm install
Running / Development
npm start
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Code Generators
Make use of the many generators for code, try ember help generate
for more details
Running Tests
ember test
ember test --server
Linting
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
Building
ember build
(development)ember build --environment production
(production)
Deploying
The project is setup to automatically deploy to your GitHub pages, just run:
npm run deploy
- ... then make sure to go into settings and enable GitHub pages to point to the
gh-pages
branch.