-
Create anm AWS account if you don't already have one. Make sure you copy your AWS ACCESS KEY and SECRET ACCESS KEY. You'll need this later.
-
Create a Cloud9 account: https://c9.io
-
Visit the "awshackers" team workspace: https://c9.io/awshackers
-
Clone the "awshackers/hackathon" workspace. Ensure you uniquely name the workspace.
-
Open your newly-cloned workspace.
-
Configure CLI with aws configure
$ aws configure
AWS Access Key ID [None]: AKISAMPLEACCESSKEY
AWS Secret Access Key [None]: CHANGEME/t00m@any$3cret$E
Default region name [None]: us-east-1
Default output format [None]: json
$ pull-constants
- Make the necessary changes to constants.js
$ push-site
- Generating keys
$ openssl genrsa -aes256 -out private_key.pem 2048
Generating RSA private key, 2048 bit long modulus
.........................................................................................................+++
........................+++
e is 65537 (0x10001)
Enter pass phrase for private_key.pem:
Verifying - Enter pass phrase for private_key.pem:
$ openssl rsa -in private_key.pem -out private_key_no_password.pem
Enter pass phrase for private_key.pem:
writing RSA key
$ openssl rsa -pubout -in private_key_no_password.pem -out public_key.pem
writing RSA key
Config: Cognito Pool ID: CHANGEME App Client ID: CHANGEME