0-Get the link
In your GitHub repo page, go to
SSH, then you should be able to see the link. Copy it.
1-Git clone command
git clone firstname.lastname@example.org:alexcalaca/coding-challenges-ruby.git
Run the previous command in your desired folder.
Note that it's not necessary to create a specific folder for the project, because a new one will be created automatically.
you should see a new folder with the project name.
In my example, the new project is
4-Set up database
bin/rails db:setup command will create the database, load the schema, and initialize it with the seed data.
Note that running the
db:migrate command also invokes the
db:schema:dump command, which will update your
db/schema.rb file to match the structure of your database.
6-Start the server
bin/rails server command launches a web server that comes bundled with Rails. You'll use this any time you want to access your application through a web browser.