Coder Social home page Coder Social logo

fares-you-can-use-rails's Introduction

README

Fares You Can Use

A Rails web app for users to see flight deals that match their home airports, favorite destinations, and vacation dates.

Getting Started

  • Run bundle install to install gems
  • Run rake db:seed to open the seeding CLI
    • Select "T" to seed the static databases (Airports, Regions, etc.) required for database operations. This will take a few minutes.
    • Select "D" to seed some sample deals, if you'd like.
  • Run rails server to start the server, then access the website from a browser at localhost:3000

Admin Users

  • Admins cannot be created from the browser, and must be created from the rails console using Admin.create(email, password)

Running the tests

  • Run rake db:seed RAILS_ENV=test and select "T" to seed the static databases (Airports, Regions, etc.) required for database operations. This will take a few minutes.
    • Other databases are reset between tests. The static databases are set to be left alone, but sometimes they do get cleaned and you'll need to seed them again.
  • As of the last edit on this README, tests have not been updated to pass the current state of the project.

Contributing

Please read [CONTRIBUTING.md] for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

fares-you-can-use-rails's People

Contributors

tuzmusic avatar dependabot[bot] avatar

Watchers

James Cloos 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.