add info for resetting packages and lbry-redux
This commit is contained in:
parent
5c51dfa0ca
commit
262a854ad4
2 changed files with 16 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
||||||
# Contribute to LBRY
|
# Contribute to LBRY
|
||||||
|
|
||||||
You found this page! That means you are well on your way to contributing to the LBRY app. This
|
|
||||||
application is primarily written in JavaScript and is built on [Electron](https://electronjs.org)
|
**First:** if you're unsure or afraid of anything, just ask or submit the issue or pull request anyways. You won't be yelled at for giving your best effort. The worst that can happen is that you'll be politely asked to change something. We appreciate any sort of contributions, and don't want a wall of rules to get in the way of that.
|
||||||
while utilizing [React](https://reactjs.org) and [Redux](https://redux.js.org) for UI and
|
|
||||||
application state.
|
However, for those individuals who want a bit more guidance on the best way to contribute to the project, read on. This document will cover what we're looking for. By addressing all the points we're looking for, it raises the chances we can quickly merge or address your contributions.
|
||||||
|
|
||||||
|
|
||||||
## TL;DR?
|
## TL;DR?
|
||||||
|
@ -57,10 +57,18 @@ Although all contributions should have good UX, the [UX label, when applied in c
|
||||||
|
|
||||||
The entry point for this application is `src/renderer/index.js`
|
The entry point for this application is `src/renderer/index.js`
|
||||||
|
|
||||||
|
This application is primarily written in JavaScript and is built on [Electron](https://electronjs.org)
|
||||||
|
while utilizing [React](https://reactjs.org) and [Redux](https://redux.js.org) for UI and
|
||||||
|
application state.
|
||||||
|
|
||||||
The project comes with diverse tools for simplifying the development process and for providing
|
The project comes with diverse tools for simplifying the development process and for providing
|
||||||
better code quality. It's recommended to make use of them thoroughly during ongoing development. We follow the well-known [Airbnb JavaScript Style Guide](http://airbnb.io/javascript/) for defining
|
better code quality. It's recommended to make use of them thoroughly during ongoing development. We follow the well-known [Airbnb JavaScript Style Guide](http://airbnb.io/javascript/) for defining
|
||||||
our styling rules and code best practices.
|
our styling rules and code best practices.
|
||||||
|
|
||||||
|
### lbry-redux
|
||||||
|
|
||||||
|
We have started sharing some of the redux code for this project with [lbry-android](https://github.com/lbryio/lbry-android). This shared code is in a github repo called [lbry-redux](https://github.com/lbryio/lbry-redux). We plan to move additional redux code to that repo, so you may be asked to make some of your changes there. The steps to work with lbry-redux locally can be found [here](https://github.com/lbryio/lbry-redux#local-development).
|
||||||
|
|
||||||
### Flow
|
### Flow
|
||||||
|
|
||||||
[Flow](https://flow.org/) is a static type checker for JavaScript. Flow checks your code for
|
[Flow](https://flow.org/) is a static type checker for JavaScript. Flow checks your code for
|
||||||
|
|
|
@ -48,6 +48,10 @@ Double click the installed application to browse with the LBRY network.
|
||||||
If you want to just build the app you can run `yarn build`. This will give you an executable inside the `/dist` folder. We use [electron-builder](https://github.com/electron-userland/electron-builder) to create
|
If you want to just build the app you can run `yarn build`. This will give you an executable inside the `/dist` folder. We use [electron-builder](https://github.com/electron-userland/electron-builder) to create
|
||||||
distributable packages.
|
distributable packages.
|
||||||
|
|
||||||
|
#### Resetting your Packages
|
||||||
|
|
||||||
|
If the app isn't building, or `yarn xxx` commands aren't working you may need to just reset your `node_modules`. To do so you can run: `rm -r node_modules && yarn`
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Contributions to this project are welcome, encouraged, and compensated. For more details, see [CONTRIBUTING.md](CONTRIBUTING.md)
|
Contributions to this project are welcome, encouraged, and compensated. For more details, see [CONTRIBUTING.md](CONTRIBUTING.md)
|
||||||
|
|
Loading…
Reference in a new issue