💌 A beautiful, fast and fully open source mail client for Mac, Windows and Linux.
Go to file
2016-07-07 16:06:04 -07:00
packages Merge branch 'master' of ssh://github.com/nylas/k2 2016-07-07 15:27:56 -07:00
.dockerignore Dockerfile successfully building ping endpoint 2016-07-07 12:10:01 -07:00
.env Commit .env to fix dev environment 2016-06-27 13:29:13 -07:00
.eslintrc Add sync worker error handling 2016-06-27 16:03:38 -07:00
.gitignore Re-add .elasticbeanstalk to gitignore 2016-07-07 12:13:27 -07:00
Dockerfile Merge branch 'master' of ssh://github.com/nylas/k2 2016-07-07 15:27:56 -07:00
lerna.json Upgrade lerna 2016-07-06 13:51:17 -07:00
package.json Merge branch 'master' of ssh://github.com/nylas/k2 2016-07-07 15:27:56 -07:00
pm2-dev.yml Switch to PM2 for dev + prod 2016-07-07 15:25:45 -07:00
pm2-prod-api.yml Switch to PM2 for dev + prod 2016-07-07 15:25:45 -07:00
pm2-prod-sync.yml Switch to PM2 for dev + prod 2016-07-07 15:25:45 -07:00
README.md Minor updates to readme 2016-07-07 16:06:04 -07:00

K2 - Sync Engine Experiment

Initial Setup:

New Computer (Mac):

  1. Install Homebrew
  2. Install VirtualBox 5+
  3. Install Docker for Mac
  4. Install NVM brew install nvm
  5. Install Node 6+ via NVM: nvm install 6

New to AWS:

  1. Install Elastic Beanstalk CLI: sudo pip install awsebcli
  2. Install AWS CLI: brew install awscli
  3. Add your AWS IAM Security Credentials to aws configure.
  4. These are at Console Home -> IAM -> Users -> {{Your Name}} -> Security Credentials. Note that your private key was only shown unpon creation. If you've lost your private key you have to deactivate your old key and create a new one.
  5. Get the K2 team private SSH key. (Ignore this when we have a Bastion Host). Ask someone on K2 for a copy of the private SSH key. Copy it to your ~/.ssh folder.
  6. chmod 400 ~/.ssh/k2-keypair.pem
  7. ssh i ~/.ssh/k2-keypair.pem some-ec2-box-we-own.amazonaws.com
  8. Connect to Elastic Beanstalk instances: eb init. Select correct region. Select correct application.

Developing Locally:

npm start

Deploying