💌 A beautiful, fast and fully open source mail client for Mac, Windows and Linux.
Find a file
2016-11-29 14:58:52 -08:00
packages fix(dashboard): Remove sync policy 2016-11-29 14:58:52 -08:00
.arcconfig Basic structure changes to run K2 in N1 2016-11-22 14:23:16 -08:00
.dockerignore
.env
.eslintrc
.gitignore Flesh out skeleton. 2016-11-22 12:25:27 -08:00
Dockerfile [cloud] fix(eb): Oops 2016-11-22 13:25:58 -08:00
lerna.json
package.json Add better-sqlite3 2016-11-23 10:18:47 -08:00
pm2-dev.yml
pm2-prod-api.yml [cloud] fix(eb): Oops 2016-11-22 13:25:58 -08:00
pm2-prod-workers.yml
README.md Readme updates 2016-11-28 14:13:23 -08:00
test_accounts.txt

K2 - Local Sync Engine & Cloud Services for Nylas N1

This is a collection of all sync and cloud components required to run N1.

  1. Cloud API: The cloud-based auth and metadata APIs for N1
  2. Cloud Core: Shared code used in all remote cloud services
  3. Cloud Workers: Cloud workers for services like send later
  4. Isomorphic Core: Shared code across local client and cloud servers
  5. Local Sync: The local mailsync engine integreated in Nylas N1

See /packages for the separate pieces. Each folder in /packages is designed to be its own stand-alone repositoriy. They are all bundled here for the ease of source control management.

Initial Setup for All Local & Cloud Services:

New Computer (Mac):

  1. Install Homebrew
  2. Install NVM brew install nvm
  3. Install Node 6 via NVM: nvm install 6
  4. Install Redis locally brew install redis

New Computer (Linux - Debian/Ubuntu):

  1. Install Node 6+ via NodeSource (trusted):
  2. curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
  3. sudo apt-get install -y nodejs
  4. Install Redis locally sudo apt-get install -y redis-server redis-tools benefit of letting us use subdomains.