Bus Detective allows you to see real-time data for the Cincinnati Metro busses.
You will need the following things properly installed on your computer.
git clone <repository-url>
this repository- change into the new directory
npm install
bower install
cp .env.example .env
** Modify the .env to match your environment *** API_HOST should point to localhost for development *** REDIS_* Should point to youre local config
ember server
- Visit your app at http://localhost:4200.
- You'll probably need to be running the server and redis. See the bus-detective app and use
foreman start -f Procfile.dev
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)
ember-cli-deploy is used to deploy assets to S3 and
manage revisions of built index.html
files (served through Redis). Make sure environment variables
are set in .env.deploy.production
for S3 and Redis.
ember deploy --environment=production (--activate=true)
The deploy command does the following:
- Builds and fingerprints assets
- Uploads built assets to S3
- Pushes a version of
index.html
to the Redis instance running on Heroku - If used with the option
--activate=true
, automatically activate the current revision
To update the current revision of index.html
served from the rails IndexController
ember deploy:list --environment=production
This will list each revision of index.html
stored in Redis. To deploy a revision, run:
ember deploy:activate <revision-key> --environment=production
This project rocks and uses (MIT-LICENSE).
GitHub's guide for Contributing to Open Source offer's the best advice.
- Fork it!
- Create your feature branch:
git checkout -b cool-new-feature
- Commit your changes:
git commit -am 'Added a cool feature'
- Push to the branch:
git push origin cool-new-feature
- Create new Pull Request.