A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
ad3773ead4
Change wording and behavior on Publish page when user already controls name |
||
---|---|---|
.travis | ||
dist | ||
js | ||
scss | ||
.gitignore | ||
.travis.yml | ||
dist.zip | ||
README.md | ||
watch.sh |
LBRY Web User Interface
This is the frontend for LBRY's in-browser application, that is automatically installed when a user installs LBRY.
Development Setup
These steps will get you to change-reload-see:
- Install LBRY
- Install node and npm (this gist may be useful)
- Install babel (
npm install -g babel-cli
) - Install babel presets (
npm install babel-preset-es2015 babel-preset-react
) - Install SASS
- Run
./watch.sh
- Run
lbrynet-daemon --ui=/full/path/to/dist/
- Changes made in
js
andsass
will be auto compiled todist
lbrynet-daemon --branch=branchname
can be used to test remote brancheslbry.call('configure_ui', {path: '/path/to/ui'})
can be used in JS console on web ui to switch ui path- Occasionally refreshing the cache may be necessary for changes to show up in browser
Common Issues
- Error: Couldn't find preset "es2015" relative to directory "js"
Fix with: npm install babel-preset-es2015 --save npm install babel-preset-react --save