Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Latest commit

 

History

History
35 lines (28 loc) · 1.13 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.13 KB

Admin App for Rangefeed2

This app controls open-rangefeed.

Install deps

Make sure you have yarn installed ($ npm install -g yarn), then do:

$ yarn

Add Default Content

Populate default tweet data in:

Default company logo:

Note: the image format must be base64.

Run the app

Replace XXX with the name of your DB in CouchDB.

$ REACT_APP_DBNAME=XXX yarn start

Create production build

Replace XXX with the name of your DB in CouchDB.

$ REACT_APP_DBNAME=XXX yarn run build

Database configuration

You can configure custom db connections in file src/dbconfig.js.

Adding new persistent states

Rangefeed2 uses react-couchdb-store to automatically create states and make them persistent in our database so they can be shared between the main app and the Admin app.