-
Notifications
You must be signed in to change notification settings - Fork 943
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
Update JS SDK to 1.2 #963
Update JS SDK to 1.2 #963
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,28 +3,28 @@ | |
The following configuration variables can be set to control the Flex template app behaviour. Most of | ||
them have defaults that work for development environment. For production deploys most should be set. | ||
|
||
| Variable | Description | | ||
| ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | | ||
| REACT_APP_MAPBOX_ACCESS_TOKEN | See: [Integrating to map providers](./map-providers.md) | | ||
| REACT_APP_GOOGLE_MAPS_API_KEY | See: [Google Maps API key](./google-maps.md) (Alternative map provider) | | ||
| REACT_APP_SHARETRIBE_SDK_CLIENT_ID | Client ID (API key). You will get this from the Sharetribe team. | | ||
| REACT_APP_STRIPE_PUBLISHABLE_KEY | Stripe publishable API key for generating tokens with Stripe API. Use test key (prefix pk*test*) for development. | | ||
| REACT_APP_SHARETRIBE_SDK_BASE_URL | The base url to access the Sharetribe Flex Marketplace API. | | ||
| REACT_APP_SHARETRIBE_MARKETPLACE_CURRENCY | The currency used in the Marketplace as ISO 4217 currency code. For example: USD, EUR, CAD, AUD, etc. | | ||
| REACT_APP_CANONICAL_ROOT_URL | Canonical root url of the marketplace. Needed for social media sharing and SEO optimization. | | ||
| NODE_ENV | Node env. Use 'development' for development and 'production' for production. | | ||
| PORT | Port for server to accept connections. | | ||
| REACT_APP_ENV | A more fine grained env definition than NODE_ENV. Is used for example to differentiate envs in logging. | | ||
| REACT_APP_SHARETRIBE_USING_SSL | Redirect HTTP to HTTPS? | | ||
| SERVER_SHARETRIBE_TRUST_PROXY | Set when running the app behind a reverse proxy, e.g. in Heroku. | | ||
| REACT_APP_PUBLIC_SENTRY_DSN | See: [Error logging with Sentry](./sentry.md) | | ||
| SERVER_SENTRY_DSN | See: [Error logging with Sentry](./sentry.md) | | ||
| REACT_APP_CSP | See: [Content Security Policy (CSP)](./content-security-policy.md) | | ||
| BASIC_AUTH_USERNAME | Set to enable HTTP Basic Auth | | ||
| BASIC_AUTH_PASSWORD | Set to enable HTTP Basic Auth | | ||
| REACT_APP_GOOGLE_ANALYTICS_ID | See: [Google Analytics](./analytics.md) | | ||
| REACT_APP_AVAILABILITY_ENABLED | Enables availability calendar for listings. | | ||
| REACT_APP_DEFAULT_SEARCHES_ENABLED | Enables default search suggestions in location autocomplete search input. | | ||
| Variable | Description | | ||
| ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | ||
| REACT_APP_MAPBOX_ACCESS_TOKEN | See: [Integrating to map providers](./map-providers.md) | | ||
| REACT_APP_GOOGLE_MAPS_API_KEY | See: [Google Maps API key](./google-maps.md) (Alternative map provider) | | ||
| REACT_APP_SHARETRIBE_SDK_CLIENT_ID | Client ID (API key). You will get this from the Sharetribe team. | | ||
| REACT_APP_STRIPE_PUBLISHABLE_KEY | Stripe publishable API key for generating tokens with Stripe API. Use test key (prefix pk*test*) for development. | | ||
| REACT_APP_SHARETRIBE_MARKETPLACE_CURRENCY | The currency used in the Marketplace as ISO 4217 currency code. For example: USD, EUR, CAD, AUD, etc. | | ||
| REACT_APP_CANONICAL_ROOT_URL | Canonical root url of the marketplace. Needed for social media sharing and SEO optimization. | | ||
| NODE_ENV | Node env. Use 'development' for development and 'production' for production. | | ||
| PORT | Port for server to accept connections. | | ||
| REACT_APP_ENV | A more fine grained env definition than NODE_ENV. Is used for example to differentiate envs in logging. | | ||
| REACT_APP_SHARETRIBE_USING_SSL | Redirect HTTP to HTTPS? | | ||
| SERVER_SHARETRIBE_TRUST_PROXY | Set when running the app behind a reverse proxy, e.g. in Heroku. | | ||
| REACT_APP_PUBLIC_SENTRY_DSN | See: [Error logging with Sentry](./sentry.md) | | ||
| SERVER_SENTRY_DSN | See: [Error logging with Sentry](./sentry.md) | | ||
| REACT_APP_CSP | See: [Content Security Policy (CSP)](./content-security-policy.md) | | ||
| BASIC_AUTH_USERNAME | Set to enable HTTP Basic Auth | | ||
| BASIC_AUTH_PASSWORD | Set to enable HTTP Basic Auth | | ||
| REACT_APP_GOOGLE_ANALYTICS_ID | See: [Google Analytics](./analytics.md) | | ||
| REACT_APP_AVAILABILITY_ENABLED | Enables availability calendar for listings. | | ||
| REACT_APP_DEFAULT_SEARCHES_ENABLED | Enables default search suggestions in location autocomplete search input. | | ||
| REACT_APP_SHARETRIBE_SDK_BASE_URL | The base url to access the Sharetribe Flex Marketplace API. FTW uses the correct one by default so no need to set this. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this line be removed from here altogether? It just confuses FTW users and can be communicated in some other manner to FTW developers. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IRL: lets keep for now |
||
|
||
## Defining configuration | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this could be removed also from the .env template.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IRL: lets keep for now