Lab 1 - Setup and basic usage
Getting Racket and BitBucket setup
Racket
- Download and Install Racket
- After installation, open Racket and enable the "Beginning Student Language"
- 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- Create a test repository called Assignment0
- Check out the empty repository to your local machine
- Open Racket and paste the following in the definitions window, replace your name and email accordingly:
;; CS2500 ;; Assignemnt 0 ;; Therapon Skoteiniotis (therapon@gmail.com)
- Save the contents of the definitions window inside the local repository with the name
assignment0
- Inform git that you want to track changes to this file
git add assignment0.rkt
- Commit the changes in
assignment0.rkt
and provide a message for the commit to your local repositorygit commit -m "Started on Assignment 0"
- Push the code from your local repository to the BitBucket repository
git push -u origin master
- Go to your BitBucket page and inspect the code you just uploaded
- 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
- Inform git that it needs to track changes to your file
git add filename
- 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"
- Push your changes from your local repository to your BitBucket repository
git push -u origin master