importing Class examples (directly within CCS from github)

NOTE: If your project doesn't compile, please refer to the Compiling Older Projects to troubleshoot the issue.

Start by going to the repository link where the example project is located. For this example, you can use this project:

https://github.com/ECE2564-VT/basic_example_graphics.git

From here, the process is exactly the same as the GitHub Desktop method for importing projects into CCS.

Once you are on the repository page, click on the "Code" button. From the drop-down menu, choose "Open with GitHub Desktop"

Your window will automatically switch to GitHub Desktop and you will see a view similar to the below page.

For the Local path, pick a path that you wish the local repository for your project to be. The default is also adequate. Click on Clone.

Now, go to CCS and click on File, then Import. A new window will open. Choose CCS Projects as shown below and then press on Next.

A new window will open. Click on "Browse .." and browse to the top directory of the local repository. This is the Local Path you chose earlier in GitHub Desktop. If you have already forgotten the local path, it is easy to find it. Go back to GitHub Desktop and click on "show in explorer". This will open a windows explorer window directly to the local path you need.

In this example, there is only one project associated with this repository. Sometimes, there is more than one project. You can choose all or some of the projects. Click Finish. You should be able to see the project added to the project explorer pane on CCS.