You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
You have two options for this first step which is to either use [AWS CodeCommit][commit] or [GitHub][github] to host your site's repository. The choice is yours. If you have a GitHub account feel free to use that. Otherwise [CodeCommit is included in the AWS Free Tier][codecommit-free]
36
-
#### Using CodeCommit
35
+
You have two options to manage the source code for this module:
36
+
37
+
*[AWS CodeCommit][commit] - CodeCommit access is included in the [AWS Free Tier][codecommit-free].
38
+
*[GitHub.com][github] - If you're more comfortable with GitHub.com and already have an account.
39
+
40
+
#### Option 1: Using AWS CodeCommit
41
+
**:white_check_mark: Step-by-step directions**
42
+
37
43
The AWS Cloud9 development environment comes with AWS managed temporary credentials that are associated with your IAM user. You use these credentials with the AWS CLI credential helper. Enable the credential helper by running the following two commands in the terminal of your Cloud9 environment.
@@ -55,16 +62,16 @@ Now from your Cloud9 development environment:
55
62
warning: You appear to have cloned an empty repository.
56
63
ec2-user:~/environment $
57
64
```
58
-
59
-
#### Additional Github Step (This step is only required if you're using Github instead of Codecommit)
65
+
#### Option 2: Using GitHub.com
60
66
**:white_check_mark: Step-by-step directions**
67
+
61
68
1. Follow the instructions on [GitHub][github] to [Create a repository][create-repo]. NOTE: You should not create a first commit, just create the repository.
62
69
1. Clone the repository locally using your GitHub credentials
63
70
1. If you do not have credentially locally, or want to use Cloud9 for today's lab, follow these steps to [Generating a new SSH key and adding it to the ssh-agent][github-new-sshkey]
64
71
1. [Clone the repository][github-clone]
65
72
66
73
#### Populate the git repository
67
-
Once your git repository is created and cloned locally, you'll need to pull in the files for your website and sync them up to the repository.
74
+
Once you've used either AWS CodeCommit or GitHub.com to create your git repository and clone it locally, you'll need to copy the web site content from an existing publicly accessible S3 bucket associated with this workshop and add the content to your repository.
68
75
69
76
**:white_check_mark: Step-by-step directions**
70
77
From your Cloud9 development environment(or local environment)
0 commit comments