prisskreative
3/8/2015 - 5:33 AM

cloning

cloning

# When you collaborate with another person you create a clone of the project in your computer

# When we use git to manage our code, we do something called clone a repository 
# to fetch the code that can be worked on.


# Make a copy of Jason's repository on my computer

  git clone git@github.com:jasonseifer/treebook.git


# Review the log of changes in the repository

  git log


# Install the dependencies of the project using Bundler

  bundle


# When cloning a new project, you must create the database and migrate it.

# Create the databases for the application (empty databases)

  rake db:create:all


# Update the database definitions to their latest version

  rake db:migrate