2016-06-21 03:19:01 +08:00
|
|
|
# K2 - Sync Engine Experiment
|
|
|
|
|
2016-06-21 04:21:10 +08:00
|
|
|
# Initial Setup
|
2016-06-22 08:44:09 +08:00
|
|
|
|
|
|
|
1. Download https://toolbelt.heroku.com/
|
|
|
|
|
|
|
|
2. Install redis for local dev:
|
|
|
|
|
2016-06-21 04:21:10 +08:00
|
|
|
```
|
2016-06-22 08:44:09 +08:00
|
|
|
brew install redis
|
2016-06-21 04:21:10 +08:00
|
|
|
```
|
|
|
|
|
2016-06-22 08:44:09 +08:00
|
|
|
3. Make sure you're using the latest node:
|
2016-06-21 03:19:01 +08:00
|
|
|
|
|
|
|
```
|
2016-06-22 08:44:09 +08:00
|
|
|
nvm install 6
|
|
|
|
nvm use 6
|
2016-06-21 03:19:01 +08:00
|
|
|
```
|
|
|
|
|
2016-06-22 08:44:09 +08:00
|
|
|
4. `npm install`
|
|
|
|
|
|
|
|
# Running locally
|
2016-06-21 03:19:01 +08:00
|
|
|
|
|
|
|
```
|
2016-06-22 08:44:09 +08:00
|
|
|
foreman start -f Procfile.dev
|
2016-06-21 03:19:01 +08:00
|
|
|
```
|