lbryio / web-daemon

A web-based API for using LBRY (used by lbry.tech)
5 stars 1 forks source link

web-daemon

Microservice for LBRY

Notes

The web-daemon runs on port 5200 in development and production. If you want to change this, edit the inspect, start, and watch scripts in package.json.

Prerequisites

You will need either the LBRY app or the lbrynet-daemon running while using this.

Installation

npm i

Configuration

This project requires a configuration file named .env in the root directory. You can find the sample under .env.sample. To properly secure the server, modify the lbry-token="" with a secure password that any apps would need to pass. After modifying, rename/re-save the file as .env.

Development

npm run watch

Testing

npm test (dependencies and code quality)

Deployment

npm run deploy (uses Vagrant but you can use whatever you want)

Production

npm start