Lab 1 - Setup and basic usage

Getting Racket and BitBucket setup

Racket

  1. Download and Install Racket
  2. After installation, open Racket and enable the "Beginning Student Language"
  3. Use the interactions window to perform some simple calculations

BitBucket

Create an account on BitBucket 101. We will be also installing Git as part of this tutorial
  1. Create a test repository called Assignment0
  2. Check out the empty repository to your local machine
  3. Open Racket and paste the following in the definitions window, replace your name and email accordingly:
     
    ;; CS2500 
    ;; Assignemnt 0 
    ;; Therapon Skoteiniotis (therapon@gmail.com)
    
  4. Save the contents of the definitions window inside the local repository with the name
    assignment0
  5. Inform git that you want to track changes to this file
     git add assignment0.rkt
  6. Commit the changes in
    assignment0.rkt
    and provide a message for the commit to your local repository
     git commit -m "Started on Assignment 0"
  7. Push the code from your local repository to the BitBucket repository
     git push -u origin master
  8. Go to your BitBucket page and inspect the code you just uploaded
  9. Allow the BitBucket user
    cs2500graderseattle
    to have administrator access to your repository. This will allow the grader to see your repository, the progress you are making as well as clone your repository on the due date of an Assignment.

Steps 1 - 9 above is what you will have to repeat for each Assignment. At the end of the semester you should have 1 repository for each assignment posted.

Once you have your repository setup, then each time you perform changes to your code or any of the files in the repository you will

  1. Inform git that it needs to track changes to your file
    git add filename 
  2. Commit you changes to your local repository and add a note for the commit
    git commit -m "commit note goes here surrounded by double quotes"
  3. Push your changes from your local repository to your BitBucket repository
    git push -u origin master
We will learn more about git as the class progresses. For now these operations will get you going.