jordond / trakr-site

Website to showcase trakR app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trakr Website

I built this website using AngularJS bootstrapped with ng-poly.

This website is meant to showcase a few of the features built into my Android trakR application, which you can check out here.

Feel free to use any of the code, or don't up to you. Check out the Yeoman generator ng-poly though, they are both really convenient.

Setup

  1. Run npm install -g bower gulp yo generator-ng-poly
  2. Run bower install && npm install to install this project's dependencies

Deploy

  1. Make sure you ran the setup ie. bower install && npm install
  2. Rename rdeploy-build.sh.example to redeploy-build.sh
  3. Fill in the following variables: user, server, web_root, site, and you can change the other variables like build/serve directory, log name, etc.
  4. Run ./rdeploy-build.sh <branch> <dev|prod> or simply ./rdeploy-build.sh which defaults to the production mode on the current branch.

This will build the project, then using rsync will copy the files to the server. Passwordless ssh is recommended, but you will also be prompted to login if necessary. If you think something went wrong, check the directory for deploy.log or whatever you changed the name to be.

Gulp tasks

  • Run gulp to compile for dev and launch server
  • Run gulp build to compile for dev
  • Flags --env=prod to compile for production
  •   `--env=prod --pretty` to compile for production without minification
    

Check it out

This project is active and running at http://trakr.hoogit.ca, so check it out!

About

Website to showcase trakR app


Languages

Language:JavaScript 58.5%Language:CSS 19.6%Language:HTML 15.1%Language:Shell 6.8%