Skip to content

Track and find bicycle commuter routes. Prototyping at the Hack for LA event 2014 May 31

Notifications You must be signed in to change notification settings

Bike-Plus-Plus/Bicycle-Commute

Repository files navigation

Bicycle Commute - Hack for LA 2014 May 31

Concept

concept gist

Dev nodes

TechStack

Tools

Common commands

Starts a server on local host

ember server

Generate code stubs

ember generate template (name)
ember generate view (name)
ember generate controller (name)
ember generate route (name)

Compile web version

ember build

Compile app version

ember build --environment production

Setup Instructions

  1. Install your operating envionrment.
  • Install NodeJS - 0.10.26 (use nvm to manage versions)
  • Install Bower (with -g)
  • Install Ember-Cli (with -g)
  1. Clone this repo

  2. Install dependencies. npm install bower install

  3. Check if build scripts work.

    ember server

(at this point, you should be able to open a server on local host)

git deployment

Replace /var/www/bikeplusplus with your production git working copy.

/var/log/bikeplusplus.log must be writable by the git user on the production server.

In a bare git repository's hooks/post-receive file:

#!/bin/bash
cd /var/www/bikeplusplus

env -u GIT_DIR git fetch origin
env -u GIT_DIR git reset --hard origin/master

. /home/git/.nvm/nvm.sh
nvm use v0.11.12

npm install
killall ember &> /dev/null
npm start &> /var/log/bikeplusplus.log &

echo server started

Recommendations

Dijkstra's algorithm - find shortest route Ionic mobile web Framework ratchet mobile framework FastClick - eliminate 300ms delay on touch

About

Track and find bicycle commuter routes. Prototyping at the Hack for LA event 2014 May 31

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published