Skip to content

Instantly share code, notes, and snippets.

@rkaditya
Forked from teja156/commands
Created March 9, 2023 18:00
Show Gist options
  • Select an option

  • Save rkaditya/d0d55e496256e028b25834b137d2536c to your computer and use it in GitHub Desktop.

Select an option

Save rkaditya/d0d55e496256e028b25834b137d2536c to your computer and use it in GitHub Desktop.
YouTube video link: https://youtu.be/kA2ZYD4zgEo
All the commands that are executed in the above youtube video are mentioned in this gist.
1. Install AWS shell
pip install aws-shell
2. Configure AWS shell
aws configure
3. Create a repo on AWS CodeCommit
aws codecommit create-repository --repository-name wild-rydees
4. Clone the source code from Github
git clone https://github.com/aws-samples/aws-serverless-webapp-workshop
5. Split the WildRydes app into a branch
cd aws-serverless-webapp-workshop
git subtree split -P ./resources/code/WildRydesVue/ -b WildRydesVue
6. Create a git repo and populate it with source code of WildRydesVue
mkdir ../wild-rydes
cd ../wild-rydes
git init
git pull ../aws-serverless-webapp-workshop WildRydesVue
7. Create a repo and AWS CodeCommit and push this source code
git remote add origin codecommit://wild-rydes
git push -u origin master
8. Install amplify cli
npm install -g @aws-amplify/cli
amplify init
9. Add user pool to amplify app
amplify add auth
10. Push changes to the codecommit
git add .
git commit -m "made changes"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment