- Go to the AWS Educate website to log into your account -Click Here
- Click on Login to AWS Educate (it's the white text below the yellow button)
- Click on 'Classrooms' in the upper-right corner
- Click the blue 'Go To Classrooms' button
- Click the blue 'AWS Console' button
- Click 'Cloud9' under 'Recently Visited Services'
- Click Open IDE
The next screen may look gray as it says "EC2 Instance has stopped. Attempting to wake instance..."
Check Yourself! You should be on a screen with a terminal at the bottom that says vocstartsoft:~/environment $
-
Go to the github repository you want to clone. You probably got the link from a link from our class website.
-
In the AWS terminal, type
git clone [website]
You may need to enter your GitHub username and password (which may not be the same as your AWS information)
- In the AWS terminal, change directories into the folder you just created using
cd [name-of-folder]
. The folder name should be the same as the last part of the repository
Check Yourself: Your terminal should now say (master) before the dollar sign. For example:
vocstartsoft:~/environment/example-project
(master)
$
This is where you will edit your code. You can open files using the AWS folders on the left side of the screen, or by using commands in the linux terminal:
touch [file-name]
: creates a new file called [file-name]
. Don't forget to include an extension, like .txt or .html
c9 [file-name]
: opens a file in the Cloud9 editing window
mkdir [folder-name]
: makes a new folder called [folder-name]
The following 3 commands will save your work back to the public GitHub repository:
git add *
: prepares all of the files in your directory to be uploaded
git commit -m "[message]"
: commits all of your changes with a message detailing the changes you made
git push origin master
: uploads the files to the GitHub Repository
You may need to enter your GitHub username and password (which may not be the same as your AWS information)