Giter VIP home page Giter VIP logo

nyc-mta-station-arrival-feed's Introduction

The Commuter

DEMO

The Commuter Demo

SETUP

Prerequisites:

  • You will need get your MTA API KEY to access departure times.
  • Ruby 3.0.0 or later as well as the gems listed in Gemfile (run bundle install).
  • Bundler v2+.

Installation Instructions:

Both the installation and usage of this application requires a command line interface (e.g., Terminal or iTerm2 for macOSX users).

  1. Run git clone https://github.com/kylejb/nyc-mta-station-arrival-feed.git in the directory/folder of your choice and cd nyc-mta-station-arrival-feed/ once the download is complete.

  2. You should now be in the root directory of the project. Type in ls and hit enter. You are in the right place, if you see "bin", "config", "db", "demo", "lib", "README", etc.

From the root directory of the project (see Step 2), the following commands must be inputted as written:
  1. Run rake db:migrate to initialize a local copy of my database model on your computer.

  2. Run rake db:seed to populate your database with TrainStation data; uncomment and modify line 15 in db/seeds.rb, if you want to initialize database with the username and password of your choice.

    1. It's okay to re-run rake db:seed if you decide to initialize the database with your credentials later.
  3. Finally, ruby bin/run.rb to run the application. Enjoy!


Author

nyc-mta-station-arrival-feed's People

Contributors

dependabot[bot] avatar kylejb avatar

Watchers

 avatar

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.