[< all assignments](index.html)
# Setup Instructions for Web 1
## Create a Github account
You'll need a github account to store your files for this class.
1. Go to [https://github.com](https://github.com) and sign up. If you already have a gitHub account, skip this step and sign in instead.
- Finish the sign up process (choose a free plan, take the survey)
- Verify your email address using the email link GitHub sends.
1. Fork Yukiko's Web 1 Folder
- Go to [https://github.com/yukikodesign/web1](https://github.com/yukikodesign/web1)
- Click the `Fork` button in the top right
1. Change the settings to display site
- Click the `Settings` tab
- Scroll down to the `GitHub Pages` Section
- Change the `Source` dropdown from `none` to `master branch`
- Hit the save button to confirm
- You can visit your github pages site using the link shown `https://{username}.github.io/web1` Save this link for later.
-----
## Setup Cloud 9 for editing
We'll use cloud 9 as a code editor for the class. It is a good way to manage files between gitHub and the various lab computers.
1. Go to [https://c9.io/](https://c9.io/) and click the github octocat icon
- authorize application to access your github account
- finish signup process (you will need to check your email to create a password and enter a credit card number- though we'll be using the free plan)
1. Create a new workspace by cloning
- Click on the `repositories` tab
- Find the web1 github repo and click on the `clone to edit` button next
- Give your workspace a name, description, and click the `create workspace` button
## Edit and turn in
Your cloud 9 workspace is your area to edit code. Let's make a change to your homepage and turn it in!
1. Preview your file
- find the `index.html` file in the left workspace file list, double click it to open the file
- Click the `preview` button, and select `live preview file` to see the the current page as you make changes
1. Change the name on the Home page
- On line 8, change the name to your name
- Save the file using the keyboard command, `command + s`
1. Turn in your change to GitHub
- Open a new terminal panel using the menu, `Window > new terminal`
- Type in this command to turn in your files to GitHub: `./turnin` and hit `enter` to submit your command.
- Be sure the message reads "Successfully Turned in!"
1. Check out your changes on your GitHub pages link `https://{username}.github.io/web1/`
## Congrats!
From here on out, just log into Cloud 9 to edit your code. Run the turn in script to update your github pages that's viewable to the class.