Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed c-9 instructions #33

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

alex-aaron
Copy link

Removed all c-9 instructions from README instructions.

README.md Outdated
Comment on lines 475 to 521
### TODO 11 : Add Update Gitignore

We need to do some cleanup before putting your site onto the internet. This step will make working with our site easier in the future by making our site ignore files generated by Cloud 9 and other special directories that we don't need.

* If using Cloud9: Click on the _gear_ icon at the top left above the project folders and select "Show Hidden Files" (See below)

<img src="img/cloud9-show-hidden-files.png" style="max-height: 350px">

* Open the `.gitignore` file
* Delete line 32 which contains `bower_components`
* Then, at the bottom of the `.gitignore` file, make a new blank line by hitting Enter and then type `.*`
* Save the `.gitignore` file, and close it.

### TODO 12 : Go Live

Let's put our site on the Internet so that anyone can look at it!

With <a href="https://pages.github.com/" target="_blank">GitHub Pages</a>, once you push your changes from your AWS Cloud9 workspace up to your GitHub repository, your page will be live on the Internet.

To do so, you'll need to enter the following git commands into your bash terminal. In the bottom window pane click the plus sign and select "New Terminal".

Enter the following commands, and be careful to place your spaces correctly and press `ENTER` after each one. Read the results of each command and check for errors.

1. Change directories into your github folder. The result should look something like this: `cd "hallebot.github.io"` (the github username of the user in this example is `hallebot`). Once your command looks similar to this, press enter to move on to the next command:

cd "replace this with your github repository folder"

2. First, **add** all the files we worked into git so that they can be archived into a set of changes in our source control:

git add -A

3. Then **commit** everything that has been added to the set of changes:

git commit -m 'A basic website'

4. Finally, sync the repository in Cloud9 with the one on github by **pushing** your set of changes. **If** you are prompted, just type 'yes' to proceed, but you may not be asked.

git push

If asked, enter your Github username and password.
**Note:** While entering your password, the cursor will _not_ move as you type. This is an intentional security feature so that if someone is looking at your screen, they can not see the what you're typing.

You just sent your code to github where it will be backed up and made into a website anyone can see. You should be able to see your code should now appear on the github page from the Setup step above.

Give it a couple minutes and you should be able to view your website live on the web at http://username.github.io/username.github.io! (Where 'username' is your own GitHub username.)

Congratulations! You are LIVE ON THE INTERNET!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how is this being done now? I see cloud9 was removed, but they should probably still update the gitignore and "go live"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha, I'll add those instructions back and just make sure it's geared torward stackblitz.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added back the go live instructions with Stackblitz. I also noticed there was some dangling AWS mentions that I removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants