Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NoQA] Update "Troubleshooting" docs #5262

Merged
merged 4 commits into from
Sep 30, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ These instructions should get you set up ready to work on New Expensify 🙌
1. Install `node` & `npm`: `brew install node`
2. Install `watchman`: `brew install watchman`
3. Install dependencies: `npm install`
4. Create a `.env` file, use [.env.staging](.env.staging) as a source.
kidroca marked this conversation as resolved.
Show resolved Hide resolved
External contributors should set `USE_WEB_PROXY=true` (Otherwise they'll get CORS errors)

You can use any IDE or code editing tool for developing on any platform. Use your favorite!

Expand Down Expand Up @@ -59,6 +61,16 @@ You can use any IDE or code editing tool for developing on any platform. Use you

**Note:** Expensify engineers that will be testing with the API in your local dev environment please refer to [these additional instructions](https://stackoverflow.com/c/expensify/questions/7699/7700).

## Environment variables
- `USE_WEB_PROXY` ⚠️used in web/desktop development, it starts a server along the local development server to proxy
kidroca marked this conversation as resolved.
Show resolved Hide resolved
kidroca marked this conversation as resolved.
Show resolved Hide resolved
requests to the backend. External contributors should set this to `true` otherwise they'll have CORS errors.
If you don't want to start the proxy server set this explicitly to `false`
kidroca marked this conversation as resolved.
Show resolved Hide resolved
- `CAPTURE_METRICS` (optional) set this to `true` to capture performance metrics and see them in Flipper
see [PERFORMANCE.md](PERFORMANCE.md#performance-metrics-opt-in-on-local-release-builds) for more information
- `ONYX_METRICS` (optional) set this to `true` to capture even more performance metrics and see them in Flipper
see [React-Native-Onyx#benchmarks](https://github.com/Expensify/react-native-onyx#benchmarks) for more information


----

# Running the tests
Expand Down