0.2.0 • Published 7 years ago

uppyserver v0.2.0

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

uppy-server

Install

npm install uppy-server

Configure

cp env.example.sh env.sh
$EDITOR env.sh

Run

For local development:

npm run start

In production

# As a privileged user
source env.sh
# As an non-privileged user
npm run start:production

An example server is running at http://server.uppy.io, which is deployed via Frey, using the following Freyfile.

All the secrets are stored in env.infra.sh, so using env.infra.example.sh, you could use the same Freyfile but target a different cloud vendor with different secrets, and run your own uppy-server.

Logging

Requires Frey, if you haven't set it up yet type

npm run install:frey

afterwards, production logs are available through:

npm run logtail

This requires at least the FREY_ENCRYPTION_SECRET key present in your ./env.sh.