- Clone the repo (get credentials from IAM) or go to 1.a
git clone https://yourRepoURL
a. Initialize a new repo, go to step 3
mkdir yourRepo
cd yourRepo
git init
- Switch to project directory
cd yourRepo
- Make sure your git user name and email are correct
>git config user.name && git config user.email
deegles
diego@vokkal.co
- Make sure npm and node are installed
> node -v && npm -v
v6.9.5
3.10.10
- Install dependencies
npm install
npm install -g webpack
- Set up an AWS profile (make sure the AWS CLI is installed)
aws configure --profile cookietime
- Run the build
npm run build
- Deploy to AWS
npm run deploy