Code Monkey home page Code Monkey logo

mobility-explorer's Introduction

mobility-explorer's People

Contributors

drewda avatar irees avatar kdiluca avatar meghanhade avatar nselikoff avatar rmglennon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mobility-explorer's Issues

UI: dynamic legends

  • mode color key that only shows modes currently visualized
  • operator color key that only shows operators currently visualized
  • show count information

Operator detail view

Options to view routes or stops for that operator. If route is selected, show route detail view. If stop is selected, show stop detail view.

Deploy to servers

TODO:

  • remove .travis.yml -- we'll be using CircleCI instead
  • create a circle.yml file that looks like https://github.com/transitland/feed-registry/blob/master/circle.yml
  • in circle.yml: replace s3://staging.transit.land/feed-registry/ with s3://static-dev.mapzen.com/mobility/explorer/ and replace s3://transit.land/feed-registry/ with s3://static-prod.mapzen.com/mobility/explorer
  • in circle.yml remove the two places that read AWS_ACCESS_KEY_ID=${STAGING_AWS_ACCESS_KEY_ID} AWS_SECRET_ACCESS_KEY=${STAGING_AWS_SECRET_ACCESS_KEY}. Keep the rest of the line. We're using the same keys for both dev and prod S3 buckets.
  • in config/environments.js add a "staging" environment. It can have the same configuration as "development". This is so you can have two different sets of configuration.
  • in config/environment.js set baseURL to equal /mobility/explorer/ in the "staging" and "production" environments. This is so your assets will live under that subdirectory, rather than at the root of the server (as they do when accessing the dev server at, say, http://localhost:4200/)
  • try a test deploy from your own system (more about this below). If it works, you should be able to open up https://dev.mapzen.com/mobility/playground/
  • add AWS keys to CircleCI environment variables: https://circleci.com/gh/mapzen/mobility-playground/edit#env-vars Keys are on Slack. You'll need to set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  • do a merge or push to master on GitHub and see if CircleCI successfully deploys it to dev.mapzen.com

to test a deploy locally, you'll just run a few of the commands listed in circle.yml:

  • set keys locally export AWS_ACCESS_KEY_ID =xxxxx && export AWS_SECRET_ACCESS_KEY=xxxx
  • install the awscli library to upload the files to S3: sudo pip install -U awscli
  • build the files locally: ember build --environment=staging
  • upload to S3: aws s3 sync ./dist s3://static-dev.mapzen.com/mobility/explorer/

Related: https://github.com/mapzen/operations-engineering/issues/329

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.