The #1 Social Media service for Colorado hikers to connect, plan trips, go hiking, and review their trails!
- Aaron Olsen
- Andrew Mossefin
- Benjamin Jacobs
- Carl Richmond
- Nick Edwards
- Michael Centrelli
- Jimmy Truong
- Desislava Todorova
- Will Rattermann
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
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...
- aws_access_key_id
- aws_secret_access_key
- hiking_project_api_key
- MEETUP_KEY
- MEETUP_SECRET
- google_map_api_key
- WEATHER_KEY
- PHONE_NUMBER
- ACCOUNT_SID
- AUTH_TOKEN
- PASSWORD
- USERNAME
- WORKSPACE_ID
- TRUDY_URL
PLEASE MAKE SURE TO MATCH THE KEY NAMES BELOW, INCLUDE CASE SENSITIVITY.
- ex. EXAMPLE_KEY: "1234567"
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...
- 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