From bdac5161d26465f3c5787b02872a25c7fd8facd3 Mon Sep 17 00:00:00 2001 From: Bread Genie <63963181+BreadGenie@users.noreply.github.com> Date: Mon, 18 Oct 2021 19:47:53 +0530 Subject: [PATCH] docs: add contributing guide (#89) --- CONTRIBUTING.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..8229d280 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,41 @@ +# Contributing Guide + +Contributions are welcome and are greatly appreciated! + + +## Setting up your environment + +After forking to your own github org or account, do the following steps to get started: + +```bash +# clone your fork to your local machine +git clone https://github.com//lnreader.git + +# step into local repo +cd lnreader + +# install dependencies +npm install + +# run metro for development +npm start +``` + +### Developing on Android + +While the packager is running and you have an Android device or emulator connected to your computer, build and launch the Android app. + +``` +npm run android +``` + +### Style & Linting + +This codebase's linting rules are enforced using [ESLint](http://eslint.org/). + +It is recommended that you install an eslint plugin for your editor of choice when working on this +codebase, however you can always check to see if the source code is compliant by running: + +```bash +npm run lint +```