Skip to content

EvAlex/RoboCoach

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoboCoach

Build Status

Environment Setup

$ npm install -g webpack jsx-typescript firebase-tools tsd

Develop

  • After every git pull execute npm install and tsd install
  • npm start - starts webpack-dev-server.
  • open http://localhost:3333/
  • develop, save files and refresh page - webpack-dev-server will recompile everything automatically. Sometimes it may need to terminate it and npm start again.

Deploy

Deploy is performed automatically on push. But Travis CI sometimes hangs before build, so here's the way to do it manually:

$ npm run deploy

Ask @EvAlex to add you as collaborator on Firebase.

Open https://robocoach.firebaseapp.com/ to verify deployment

Tests

  • npm test - single run unit tests in PhantomJS
  • npm run test-debug - to run repeated unit tests in PhantomJS after every file change
  • npm run test-browser- single run unit tests in Chrome
  • npm run test-browser-debug - to run repeated unit tests after every file change in Chrome with debug option
    • After browser is opened click on "DEBUG" button in top right corner
    • Hit F12 to debug

Technology stack:

Using Atom for development

  1. Install Github Atom
  2. Install Atom packages
$ apm install atom-typescript atom-beautify file-icons linter minimap
  1. File > Settings (Ctrl + Comma). Choose Themes tab. If you prefer select "One Light" theme both for "UI Theme" and "Syntax Theme".
  2. File > Settings (Ctrl + Comma). Choose settings tab. Set "Tab Length" to 4
  3. File > Settings (Ctrl + Comma). Choose Packages tab. Find "tree-view" package there. Open its settings. Check "Hide Ignored Names" and "Hide VCS ignored names"

Using Visual Studio 2015 for development

  1. Install Node Tools for Visual Studio extension
  2. Install NPM Scripts Task Runner extension
  3. Install WebPack Task Runner extension

Using Visual Studio Code for development

Show tslint errors only in VS Code

  • Hit Ctrl + P
  • Run "task tslint-watch"

Show webpack errors in VS Code

  • Hit Ctrl + P
  • Run "task webpack-watch"

Kill running task

  • Hit Ctrl + shift + P
  • Run "Tasks: Terminate Running Task"

About

Web App that acts like a fitness coach!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published