This section goes over how to set up the GitHub repository, using two different methods.
Clone the AP Cpmputer Science A: Maddie Waldie Code
repository:
git clone https://github.com/NDSJCS/CSA18-19_Waldie_Maddie.git
Follow the steps below to download SourceTree.
- Go to this website.
- Click the green download button
- Create an Atlassian account
- Follow the instructions given to create it
- Go back to SourceTree, and login with your Atlassian account
- Click the Github icon, enter your GitHub information, and sign in
Follow the steps below to clone the repository, using SourceTree.
- Open SourceTree
- Next to the searchbar that says "filter repositories," drop down the tab that says "New"
- Select Clone from URL
- Enter this source URL
- Select the destination path and name the repository
- Press clone
This section goes over the naming conventions for different aspects of code in this repository.
The names of labs should be the only folders that use underscores in their names. When naming a project, always put the lab name, followed by the author's last name, and finally the author's first name.
Below, you can see an example of how to name a project.
LabName_LastName_FirstName
Just like variables, the naming of methods is always in camel case, rather than using underscores. Make sure the first letter of a method is uppercase.
Below, you can see an example of how to name a method.
MethodName()
The naming of variables is always in camel case, rather than using underscores. Make sure the first letter of a variable is lowercase.
Below, you can see an example of how to name a project.
variableName