Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Improve docs
Patryk Zawadzki51870172bd00
diff --git a/docs/configuration.rst b/docs/configuration.rstindex e12952ee68..226828219f 100644--- a/docs/configuration.rst+++ b/docs/configuration.rst@@ -48,20 +48,3 @@ Environment variables``SECRET_KEY``Controls `Django's secret key <https://docs.djangoproject.com/en/1.10/ref/settings/#secret-key>`_ setting.--Log in using Facebook------------------------1. A verified Facebook account is required.-2. You need to `register as a developer <https://developers.facebook.com/>`_ on Facebook and create a new app.-3. You can find *App ID* and *App Secret* in your freshly created app's *Settings* tab.-4. Export ``FACEBOOK_APP_ID`` and ``FACEBOOK_SECRET`` as environment variables with respective app credentials.---Log in using Google----------------------1. A Google account is required.-2. First you need to `create a Google Developers Console project and client ID <https://developers.google.com/identity/sign-in/web/devconsole-project>`_.-3. Make sure you provide “Redirect URI” that follows ``http://<yourserver>/account/oauth_callback/google/`` pattern.-4. Obtained “Client ID” and “Client secret“ need to be exported as environment variables: ``GOOGLE_CLIENT_ID`` and ``GOOGLE_CLIENT_SECRET`` respectively.diff --git a/docs/index.rst b/docs/index.rstindex a73cfd03b6..5e36fc613b 100644--- a/docs/index.rst+++ b/docs/index.rst@@ -9,10 +9,10 @@ Contents::maxdepth: 2installation+ configurationstockpayments- configuration- reporting+ integrationsdevelopmentdeploydiff --git a/docs/integrations.rst b/docs/integrations.rstnew file mode 100644index 0000000000..b40c61157f--- /dev/null+++ b/docs/integrations.rst@@ -0,0 +1,70 @@+Integrations+============++Converting prices to local currencies using Open Exchange Rates+---------------------------------------------------------------++This integration will allow your customers to see product prices in their local currencies.+Local prices are only provided as an estimate, customers are still charged in your store's default currency.++Before you begin you will need an `Open Exchange Rates account <https://openexchangerates.org/>`_.+Unless you need to update the exchange rates multiple times a day the free Subscription Plan should be enough but do consider paying for the wonderful service that Open Exchange Rates provides.+Start by signing up and creating an “App ID”.++Export the following environment variable:++``OPENEXCHANGERATES_API_KEY``+ Your store's Open Exchange Rates “App ID.”+++Log in using Facebook+---------------------++This integration will let your customers log in using their Facebook accounts.++Before you begin you will need a verified Facebook account.+Start by `registering as a developer <https://developers.facebook.com/>`_ on Facebook and creating a new Facebook app for your store.++You can find your freshly created app's “App ID” and “App Secret” in its *Settings* tab.++Export the following environment variables:++``FACEBOOK_APP_ID``+ Your Facebook app's “App ID.”++``FACEBOOK_SECRET``+ Your Facebook app's “App Secret.”+++Log in using Google+-------------------++This integration will let your customers log in using their Google accounts.++Before you begin you will need a Google account.+Start by `creating a Google Developers Console project and client ID <https://developers.google.com/identity/sign-in/web/devconsole-project>`_.++Set the “Redirect URI” to ``http://<yourserver>/account/oauth_callback/google/`` where ``<yourserver>`` is the domain that you use.++Obtained “Client ID” and “Client secret“ need to be exported as environment variables:++``GOOGLE_CLIENT_ID``+ Your project's “Client ID.”++``GOOGLE_CLIENT_SECRET``+ Your project's “Client secret.“+++Reporting with Google Analytics+-------------------------------++Because of EU law regulations, Saleor will not use any tracking cookies by default.++We do however support server-side Google Analytics out of the box using `Google Analytics Measurement Protocol <https://developers.google.com/analytics/devguides/collection/protocol/v1/>`_.++This is implemented using `google-measurement-protocol <https://pypi.python.org/pypi/google-measurement-protocol>`_ and does not use cookies at the cost of not reporting things impossible to track server-side like geolocation and screen resolution.++To get it working you need to export the following environment variable:++``GOOGLE_ANALYTICS_TRACKING_ID``+ Your page's Google “Tracking ID.“diff --git a/docs/reporting.rst b/docs/reporting.rstdeleted file mode 100644index 51f0fd8afb..0000000000--- a/docs/reporting.rst+++ /dev/null@@ -1,13 +0,0 @@-Reporting-=========--Google Analytics-------------------Because of EU law regulations, Saleor will not use any tracking cookies by default.--We do however support server-side Google Analytics out of the box using `Google Analytics Measurement Protocol <https://developers.google.com/analytics/devguides/collection/protocol/v1/>`_.--This is implemented using `google-measurement-protocol <https://pypi.python.org/pypi/google-measurement-protocol>`_ and does not use cookies at the cost of not reporting things impossible to track server-side like geolocation and screen resolution.--To get it working you need to export the ``GOOGLE_ANALYTICS_TRACKING_ID`` environment variable.