Install the following
- Brew
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Python
$ brew install python
- AWS CLI or
$ brew install awscli
- make sure you have the latest - Git
- NVM
- Node
$ nvm install node
And if you didn't clone this repo, do so now. Location doesn't matter
Also, you'll need to have an existing AWS account with admin access with your credentials in ~/.aws/credentials and ~/.aws/config
It should look something like this:
[default]
aws_access_key_id=xxxxxxxxxxxxx
aws_secret_access_key=xxxxxxxxxxxxx
[default]
region=us-east-1
output=json
The following will create new accounts and organize them within your AWS Organization. To see all options, open the file
$ chmod 0644 ~/.aws/credentials
$ chmod 0644 ~/.aws/config
$ npm install
$ ./organization add -o <client-name> -n <project-name>-dev -e <project-name>-dev@gunnertech.com
$ ./organization add -o <client-name> -n <project-name>-staging -e <project-name>-staging@gunnertech.com
$ ./organization add -o <client-name> -n <project-name>-prod -e <project-name>-prod@gunnertech.com
The following will pull down a project template and partially configure it.
Once it is finished, you will need to open the project's README.md to finish setup
$ ./project <project-name> <developer-name> (destination)
# open up that project's README.md and finish the job!