• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Code The Dream School
Code the Dream Labs Logo

Code The Dream School

Main hub for class materials for Code the Dream’s classes

  • Code the Dream Home

Search Code The Dream School

Back End 2 – Weeks 7, 8, 9

Welcome to the seventh week of Back End 2. For these three weeks you will work on the

  • Final Project

Curriculum

This is your curriculum for Back End II.
3.11 Final Project

Assignment Git Guidance

You will use your own git repository. There is no git classroom assignment for the final project. By the end of week 1, you should definitely have an assignment described and agreed to by the mentors. The steps in setting up the git repository are:

rails new <project-name>
cd <project-name>
git init
On github, create a new empty repository. It should be public and should have no README.md
Copy the URL for the new repository, and then on your workspace do:
git remote add origin <git-repository-url>
git add -A
git commit -m “first commit”
git push -u origin master

As you develop your application, you should create a feature branch for each feature, using

git checkout -b <feature-name>

and then when it is complete, do:

git add -A
git commit -m “feature-name”
git push origin <feature-name>

Then on the git repository, do a pull request, verify it, and merge your own pull request into the master. Then start the next feature with this sequence:

git checkout master
git pull origin master
git checkout -b <new-feature>

Footer

Copyright © 2025 Code the Dream School | All Rights Reserved | Privacy Policy