Skip to content
This repository has been archived by the owner on Dec 9, 2021. It is now read-only.

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
se-bastiaan committed Nov 12, 2020
1 parent 6f6b09f commit 1233dc4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SERVER_URL = "http://localhost:8000"
OAUTH_CLIENT_ID = "clientId"
SENTRY_DSN = "https://[email protected]/123"
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ Getting started
6. Setup the Sentry integration using `npx @sentry/wizard -i reactNative -p ios android`
- To be able to do this you need access to our Sentry organisation, we use SSO with our Github organisation for this
- Alternatively you can setup Sentry using the example files below. The wizard will do these steps for you.
7. Start the development server using `yarn start`
8. Deploy the app on a running emulator or connected device by running `yarn start:android` or `yarn start:ios`
7. Setup your local environment
- Create a `.env` file in the root of the repository based on `.env.example`
- Set the server and client id to those of your local concrexit installation or the staging server
- A client id can be obtained by creating an OAuth2 application in the concrexit admin
8. Start the development server using `yarn start`
9. Deploy the app on a running emulator or connected device by running `yarn start:android` or `yarn start:ios`
Logging and debugging
Expand Down

0 comments on commit 1233dc4

Please sign in to comment.