Giter VIP home page Giter VIP logo

chicago_cubs_schedule_service's Introduction

chicago_cubs_schedule_service

basic Rails application that shows the Chicago Cubs logo, schedule, and colors.

Environment

The following services are expected:

  • access, from the server, to the world-wide-web is required for builds, but not for runtime.
  • PostgreSql 9.x
    • accessible locally
    • running on port 5432
  • Ruby MRI version 2.3.1
  • no ruby manager is implied but CLI access to bundler is implied.
    • if Ruby is installed, then gem install bundler to install

Setup the Service

dependencies

bundle install to install Ruby gems

database

  • rake db:create to create the database
  • rake db:migrate to configure schema
  • rake db:seed to populate database

Run the Service

rails server will start the service with default options (see below) #####detail rails server -p <PORT> -b <BIND_ADDRESS>

  • <PORT> is the host port to listen on. The default is 3000 if this option is omitted.
  • <BIND_ADDRESS> is the host address to bind to. The default is localhost (127.0.0.1) if this option is omitted.

Run the Tests

rake spec

Hit the Service

  • http://localhost:3000/ will bring up the full schedule page.
  • http://localhost:3000/search/ will bring up the schedule in json format.
  • localhost:3000 is the hostname if defaults are used. This should be changed to your own IP/hostname configuration otherwise.

chicago_cubs_schedule_service's People

Contributors

sal-ortiz avatar

Watchers

James Cloos avatar Steven Durko 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.