Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialYasir Ali
1,074 PointsDownloaded GitHub Application
Okay, so instead of creating a new application I downloaded a folder from GitHub ran on Ruby on Rails. Would I just do cd foldername/ and then do rails server to run the application?
Not sure what to do? I want to run it to pull up the application on the browser
1 Answer
Maciej Czuchnowski
36,441 PointsDownload, unzip, go in, run bundle install
and rake db:migrate
just in case (not sure if it has migrations in it). It should work from now on if bundle was successful.
Yasir Ali
1,074 PointsYasir Ali
1,074 PointsI've done cs foldername -> bundle install -> rake db:migrate
now would I just do rails server -> then run it from ym server which is http://0.0.0.0:3000 as given by terminal?
Maciej Czuchnowski
36,441 PointsMaciej Czuchnowski
36,441 PointsYes. Or localhost:3000, depend son your system.
Yasir Ali
1,074 PointsYasir Ali
1,074 PointsWhen I run it, it takes me to the Welcome Aborad screen for Ruby on Rails.
It reads the following: Getting started Hereβs how to get rolling:
Use rails generate to create your models and controllers To see all available options, run it without parameters.
Set up a root route to replace this page You're seeing this page because you're running in development mode and you haven't set a root route yet.
Routes are set up in config/routes.rb.
Configure your database If you're not using SQLite (the default), edit config/database.yml with your username and password.
my application root is the folder though, and it reads that on the website. Where would I go from there?
Maciej Czuchnowski
36,441 PointsMaciej Czuchnowski
36,441 PointsDid you watch the video? Please follow the tutorial and rewatch as many times as you need. In 3:20 Jason has the same page and then changes the url to see statuses.