/device-library

A small app for tracking our device whereabouts

Primary LanguageCSS

Upstatement Gadget Lab

This is a small meteor app designed for tracking the devices in our testing suite. It's supposed to be useful and fun.

Dependencies:

  1. You need a dev workspace with NPM, Some kind of Compass compiler, and Bower.

  2. You'll need Meteor to be installed if you haven't already: curl https://install.meteor.com | /bin/sh

  3. Install Meteorite with NPM if you don't have it already: npm install -g meteorite

To run locally:

  1. Clone the repo wherever you want to run it:
    git clone git@github.com:mswartz/device-library.git

  2. cd into the directory that was created: cd device-library

  3. run bower install to grab the Upbase framework

  4. run compass compile or compass watch to build the css (or fire up LiveReload or somesuch to look at it)

  5. now you're ready to run the app with meteor or mrt

  6. The app should be running at localhost:3000!

Deploying to Heroku

I had to install this buildpack: https://github.com/oortcloud/heroku-buildpack-meteorite and set it in the Heroku CLI:
heroku config:set BUILDPACK_URL=https://github.com/oortcloud/heroku-buildpack-meteorite

Then it didn't work until I set the ROOT_URL like so:
heroku config:add ROOT_URL=http://your.domain.com

Note that it INCLUDES the http://, it didn't work until I added this. Thanks StackOverflow!

Todo:

Design

  • Make device art

Functionality

  • Router for permalinking to devices by name eg: /iPhone-4s
  • Security around adding devices (how to make this public but prevent abuse)
  • Some kind of admin-mode or way to delete stuff, again securely
  • A way to edit devices, again, securely