It will be simplest if you first, set up a Git repository as explained in the Git New Repo assignment.
Once you have the repository on GitHub, then next step is to set up Cloud 9. It is possible to join Cloud 9 for free if you get an invitation from me. I'm taking advantage of a deal which allows me let in as many students as I wish. When you get the invitation, click on the link provided.
Once you are signed into Cloud9, you can connect the Cloud9 service to GitHub like this:
You will also have to hit the gear icon a second time in Cloud9, go to the Cloud 9 SSH services, copy the public key that Cloud 9 gives you, and paste it into GitHub. (Choose the icon at the top right of the GitHub site, choose Settings, and then SSH.)
If you have not done so already,
Set up a workspace based on your repository. Typically, your repository will have a name like this, where lastname should be your lastname:
Be very careful to get the casing and characters right. Use this as a guide:
Your workspace should incode NodeJS and NPM. Thus you can skip any prompts to set up and run Node JS and NPM.
Now take three screenshots and attach them to your assignment.
After you are logged in to Cloud9
Connect to your repository and create a Cloud 9 WorkSpace based on it.
Open your workspace and open a file from your repository. At minimum, you should have a README.md file in your repository.
The screenshot you want to create will be similar to, but not identical too, the image shown below:
Image01: The Cloud 9 IDE. Click the image above to expand it.
Make sure that your repository contains a .gitignore file with a section that at minimum looks like this:
# IDE Files
Students in Prog109 are now done with this assignment.
Students in other classes, may, if I specifically request, do the advanced Cloud9 Setup.
Submit your work and attach the screenshots.
Some students will be using both GitHub Pages and Cloud 9. Here is a brief overview of the differences between the two services.
A username.github.io GitHub pages site is something we can share with the world as a means of allowing everyone to see our web site.
Like GitHub Pages, Cloud 9 provides a means of allowing everyone to view a website, but unlike GitHub Pages, that view times-out after a few minutes. Cloud9 offers a preview of a website, while GitHub pages allows us to publish a website for long periods of time.
The primary purpose of Cloud 9 is to allow us to edit our web pages in the cloud, and to push and pull from GitHub. By editing in the cloud on a site like Cloud 9 we get at least two advantages: