You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 5 година
пре 4 година
пре 4 година
пре 4 година
пре 4 година
пре 4 година
пре 7 година
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # Contribute
  2. ## Introduction
  3. First, thank you for considering contributing to LessPass! It's people like you that make the open source community great! 😊
  4. We welcome any type of contribution, not only code. You can help by...
  5. - **QA**: filing bug reports; the more details you can give the better (e.g. screenshots with the console open)
  6. - **Marketing**: writing blog posts and howto's, making videos, updating the wiki, writing documentation, printing stickers, ...
  7. - **Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, hosting a [hackathon](https://en.wikipedia.org/wiki/Hackathon) for LessPass, ...
  8. - **Code**: taking a look at the [open issues](issues). Even if you can't write code, commenting on them and showing that you care about a given issue matters. It helps us triage them.
  9. - **Money**: helping us financially. We welcome financial contributions in full transparency on our [Open Collective page](https://opencollective.com/lesspass).
  10. ## Your first contribution
  11. Working on your first Pull Request? You can learn how using this *free* series, [*How to Contribute to an Open Source Project on GitHub*](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
  12. ## Development
  13. ### Tools
  14. Before diving in to the code, you'll need these tools installed in your environment:
  15. * [NodeJS](https://nodejs.org/)
  16. * [Yarn](https://yarnpkg.com/)
  17. The mobile apps need:
  18. * [Gradle](https://developer.android.com/studio/build/) for Android
  19. * [Xcode](https://developer.apple.com/xcode/) for iOS
  20. If you are working on the CLI, you will need:
  21. * [Python 3](https://www.python.org/)
  22. ### Folder architecture
  23. Here are some folders that worth noticing:
  24. * `package` contains the code for the web version and the browser extension. Development is done with `javascript` and `Vue`.
  25. * `lesspass-pure` contains the core of `lesspass`. Running `yarn start` in this folder will run a `lesspass` instance locally.
  26. * `lesspass-web-extension` contains the code specific for the web extension.
  27. * `lesspass-render-password` contains the algorithm to generate passwords.
  28. * `cli` contains the command line version. Development is done with `python`.
  29. * `mobile` contains the `android` and `ios` version. Development is done with `javascript` and `react native`.
  30. ### Commands
  31. To install dependencies, please run `yarn install`
  32. To run tests, you can run `yarn test` in the root directory or any sub-folder describe above.
  33. ## Submitting code
  34. Any code change should be submitted as a pull request. The description should explain what the code does and give steps to execute it. The pull request should also contain tests for any new functionality.
  35. ## Code review process
  36. The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge.
  37. It is also always helpful to have some context for your pull request. What was the purpose? Why does it matter to you? How will it benefit LessPass?
  38. ## Financial contributions
  39. We accept donations, financial backing, and sponsorships via [Open Collective](https://opencollective.com/lesspass).
  40. Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our Open Collective by the core contributors and the person who filed the expense will be reimbursed.
  41. ## Questions
  42. If you have any questions, create an [issue](issue). Protip: do a quick search first to see if someone else has asked the same question before!
  43. You can also reach the core contributors at contact@lesspass.com
  44. <!-- This `CONTRIBUTING.md` is based on @nayafia's template https://github.com/nayafia/contributing-template -->