(LAB) Setup (Fri Sep 1, lecture 2)

Homework due for today

Legend: : Participation | : Early | : PDF | : Portfolio | : Zipped

  1. Team Catalyst: Nominate Yourself: When we are forming teams, very early in the semester, we like to use Team Catalysts. If you are a catalyst I will look to you to be a positive influence in this. You will get to know the other students and try to pull them together into a team. You will have to listen to their ideas and try to align people together so they decide they want to work together. Please let me know asap if you feel like volunteering!

Computer Setup

  • Make sure you have installed:
    • Ruby 2.4
    • Rails 5.1
    • git
  • If you have a Mac, install
    • Homebrew
    • rbenv

Discussion

  • Portfolio: Other than your products (which will start in a few weeks) all your coding on homework assignments will be submitted through your Portfolio.
  • Team Catalyst: Do you want to volunteer?

Programming Assignments

Github open play instructions

  1. Everyone sign up to a free Github account
  2. Make sure you know your github username and password
  3. Locate the HTTPS clone URL (not the SSH url) within here: https://github.com/Cosi-166/my-play-project
  4. Everyone clone this repo to your top level portfolio directory: my-play-project: git clone https:\\xxxx
  5. Change to the directory that was created by git clone (my-play-project)
  6. Run your text editor and create a file and put some text into it
  7. Check the status of your repo (git status)
  8. Add that new file to the staging area for git (git add)
  9. Now with that one change, create a new git commit (git commit)
  10. Your local copy of the repo now has one more commit than the server had
  11. But notice that all your classmates are doing the same, so, there may already be some more commits on the server. So just to make sure, pull the state down of the repo which is on the server. (git pull)
  12. Now push your repo (and all its commits) to the server (git push)
  13. Double check what the state of your local repo is (git status)
  14. Now locate a file that you didn’t create, and make a change to it using your text editor.
  15. Follow the same steps above to send that change up to the server
  16. Continue to play and play and play

Ruby Demo and Questions

Next Class