Timer for "Every Minute On the Minute" Workouts.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
dist/EMOM-Timer
e2e
src
.editorconfig
.gitignore
README.md
Screenshot.png
angular.json
ngsw-config.json
package.json
static.json
tsconfig.json
tslint.json

README.md

EMOM-Timer

This project was generated with Angular CLI version 7.1.4 and uses Angular Material.

It is a Progressive Web App. Download the app from the browser and use it offline.

EMOM-Timer

Development server

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.

Code scaffolding

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.

Build

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Publish on GitHub Pages

GitHub Pages needs static files. They are generated with ng build. This command creates a dist/EMOM-Timer folder. The project includes a package called angular-cli-ghpages in the dev dependencies. The package tells GitHub Pages where to find the static files.

To build and publish run npm run publish.

Deploy on Heroku

It is possible to deploy static files to Heroku by using buildpacks (heroku-buildpack-static). The Getting Started Guide is a handy manual for everything you need to know.

Buildpacks require the dist folder to be committed. That's why is not ignored in .gitignore.

$ ng build --prod
$ git add .
$ git commit -m "Commit message"
$ git push heroku master
$ heroku open

Visit https://emom-timer.herokuapp.com.

Acknowledgement

The project is based on this tutorial.

Tick Sound recorded by DeepFrozenApps.

License

The contents of this repository are covered under the MIT License.