Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.08 KB

configuration.md

File metadata and controls

23 lines (14 loc) · 1.08 KB

Configuration

Quick start

Run cp .env.template .env to create default configuration that will be connected to Saleor Demo shop

All environment variables

Create or edit .env file in a root directory or set environment variables with the following values:

  • API_URL (required) - URI of Saleor GraphQL API instance. If you are running Saleor locally with the default settings, set API_URL to: "http://localhost:8000/graphql/". Make sure you have "/" at the end of API_URL.

  • APP_MOUNT_URI - URI at which the Dashboard app will be mounted. E.g., if you set APP_MOUNT_URI to "/dashboard/", your app will be mounted at "http://localhost:9000/dashboard/".

  • STATIC_URL - URL where the static files are located. E.g., if you use an S3 bucket, you should set it to the bucket's URL. By default, Saleor assumes you serve static files from the root of your site at "http://localhost:9000/".

  • APPS_MARKETPLACE_API_URL - URI of Marketplace API to fetch list of Apps in JSON.

  • APPS_TUNNEL_URL_KEYWORDS - Custom apps tunnel URL keywords.