Logo

Trail Up

The #1 Social Media service for Colorado hikers to connect, plan trips, go hiking, and review their trails!

Neat

The Team

Installing / Getting started

We reccomend using Ruby 2.4.1 and Rails 5.2.1, as those were the versions used during the development of this app.

To begin working with Trail Up, please run the following...

$ git clone git@github.com:jtruong2/trail_up.git 
$ cd trail_up
$ bundle
$ rake db:setup

Here you cloning Trail Up, changing directories into the new trail_up directory, loading all of of gems from the Gemfile by running bundle.

Our database is made up of the following

  • Users
    • Default Count: 24
    • Attrs: id, username, email, password_digest, slug, role, uid, fitbit_token, fitbit_id, provider
  • Trails
    • Default Count: 31
    • Attrs: id, name, description, location, distance, rating, longitude, latitude, hp_id, difficulty_id
  • Difficulties
    • Default Count: 9
    • Attrs: id, rating
  • Events
    • Default Count: 54
    • Attrs: id, trail_id, name, description, location, distance, rating, longitude, latitude, hp_id, difficulty_id
  • Event Roles
    • Default Count: 214
    • Attrs: id, user_id, event_id, role

Configuration

In order to get this program to run, there are a number of keys that you are going to want to have running in the background.

You may have notice gem "figaro" in your Gemfile, this is what we will be using to hide our keys. Once bundle has been run, make sure you run figaro install from the terminal. This will create a config/application.yml file and add that file to your git ignore.

You will need keys for the following...

PLEASE MAKE SURE TO MATCH THE KEY NAMES BELOW, INCLUDE CASE SENSITIVITY.

  • ex. EXAMPLE_KEY: "1234567"

Usage

Once the above steps have been completed you should be good to give it the ol'

$ rails s

or just avoid all these steps and go straight to OUR WEBSITE...

From Here You Can...

  • Sign in with Facebook, Google, or Twitter
  • Find a list of, or a specific Hiking Trail(s) around Colorado
    • Get directions to a spefic Trail
    • Get multi-day weather forcasts for that trail
  • Organize Events to go on a group hikes at a trail
    • Become the Primary organizer
    • Or just remain a user
  • Once you join an event, you can share through Twitter.
  • Text You Project Phone number (Through Twilio/Watson Conversations) a reccomended hike
  • Review Trails after they