These are chat archives for mirumee/saleor
uwsgi.iniand check the path in the
static-mapsetting. Ultimately you should configure Nginx to serve static files and media instead.
I am using AWS S3 for STATIC files and MEDIA uploads, but some assets e.g. storefront.js are still pointed to /static/
is it a known issue?
I tried on chromium 67.0, I don't have the issue. Are the Cross-Origin rules setup correctly?
You should take a look in the network tab of the inspector and the console and do a hard refresh (CTRL+SHIFT+R) for issues.
STATIC_URLto the bucket assets URL (https://github.com/NyanKiyoshi/saleor/blob/790235d38/webpack.config.js#L18)
I am using docker. I pull the latest code on the server, build the docker image and then run the docker container
Redis, ElasticSearch and Postgres are running on my host machine
docker container connects to these
But, for development, I use docker-compose, which comes with these three services
I have a nginx server running on the host machine which proxies all requests to the docker container
I had seen that configuration in webpack config but did not know how to make sure those environment variables are set during Docker build.
I got it working. I had to make some changes to the docker file and pass the build arguments. Everything works as a charm now.