A fly.io repository that proxies texter requests to lambda, admin requests to Heroku, and caches static assets
  • JavaScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2019-08-27 19:04:04 -04:00
.fly.yml feat: route variable perentage of traffic to admin 2019-08-16 13:09:50 -04:00
.gitignore this might work 2019-01-26 12:06:39 -05:00
index.js feat: force https 2019-08-27 11:01:12 -04:00
package.json feat: force https 2019-08-27 11:01:12 -04:00
README.md Update README.md 2019-06-18 13:21:13 -04:00
yarn.lock feat: force https 2019-08-27 11:01:12 -04:00

spoke-fly

A fly.io repository that proxies texter requests to lambda, admin requests to Heroku, and caches static assets

Usage

Clone the repository

git clone https://github.com/politics-rewired/spoke-fly.git
cd spoke-fly/

Install dependences (assume you have yarn installed globally). I set things up using Node v8.12.0.

yarn install

Rather than running commands such as fly server, fly deploy, fly login, use yarn fly server, or yarn fly x, to ensure we're running the same fly version as installed by yarn.lock.

So yarn start or yarn fly server will get it going on localhost:3000.

To deploy, modify your .fly.yml to refer to a unique app. The current one, spoke-fly, is owned by us.