Merge pull request #291 from mirumee/fix/document-static-url-env

Add STATIC_URL to the readme
This commit is contained in:
Marcin Gębala 2019-12-04 12:26:58 +01:00 committed by GitHub
commit 932379a3be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,9 @@ There are two environment variables available for configuration:
- `APP_MOUNT_URI` - URI at which the Dashboard app will be mounted. - `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/`. 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 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/`.
### Development ### Development
To start the development server run: To start the development server run: