Skip to content

Instantly share code, notes, and snippets.

@Mabachess
Forked from ddeveloperr/clone_rails_app.txt
Created April 13, 2020 04:13
Show Gist options
  • Save Mabachess/abe27bc80afcfe81eb32850dbc1a17ef to your computer and use it in GitHub Desktop.
Save Mabachess/abe27bc80afcfe81eb32850dbc1a17ef to your computer and use it in GitHub Desktop.
How to clone and run another user's Rails app
Below are the setups to run Ruby on Rails application on your system.
Make sure Ruby is installed on your system. Fire command prompt and run command:
ruby -v
Make sure Rails is installed
rails -v
If you see Ruby and Rails version then you are good to start, other wise Setup Ruby On Rails on Ubuntu
Once done, Now
Clone respected git repository
git clone https://github.com/martynbiz/human_services_finder.git
Install all dependencies
bundle install
Create db and migrate schema
rake db:create
rake db:migrate
Now run your application
rails s
p.s If you are not using RVM yet I would strongly recommend doing so!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment