Skip to content

denverdevelopments/sweater_weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sweater Weather


Contributors

Kevin Nguyen

Tools Used

Development Development Testing

Setup

This project requires Ruby 2.7.2.

  • Fork this repository
  • From the command line, install gems and set up your DB:
    • bundle install && bundle update
    • rails db:{create,migrate,seed}
  • Run the test suite with bundle exec rspec -fd
  • Run your development server with rails s to see the app in action.

Project Configurations

  • Ruby version

    $ ruby -v
    ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin20]
  • System dependencies

    $ rails -v
    Rails 5.2.6
  • Database creation

    $ rails db:{drop,create,migrate,seed}
    Created database 'sweater_weather_development'
    Created database 'sweater_weather_test'
    $ bundle install
  • API key configuration

    $ bundle exec figaro install

    Add your credentials & API keys to config/application.yml:

    #Backend Repo:
    1st API: go to [Mapquest API] to request an API key<br>
    2nd API: at [Open Weather API] to request an API key<br>
  • How to run the test suite

    $ bundle exec rspec -fd
  • Local Deployment, for testing

    $ rails s
    => Booting Puma
    => Rails 5.2.6 application starting in development
    => Run `rails server -h` for more startup options
    Puma starting in single mode...
    * Version 3.12.6 (ruby 2.7.2-p137)
    * Min threads: 5, max threads: 5
    * Environment: development
    * Listening on tcp://localhost:3000
    Use Ctrl-C to stop

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published