saleor-storefront icon indicating copy to clipboard operation
saleor-storefront copied to clipboard

Saleor storefront Heroku button deploy

Open Skorefin opened this issue 3 years ago • 3 comments

What I'm trying to achieve

Deploy Storefront on Heoku

Steps to reproduce the problem

  1. https://github.com/mirumee/saleor-storefront
  2. Click button to Launch the demo on a free Heroku instance.

What I expected to happen

Heroku Storefront deploy via Heroku to test & evaluate

Screenshots

From Heroku log when try to run

2021-03-05T10:37:05.723780+00:00 app[web.1]: Starting log redirection... 2021-03-05T10:37:05.724165+00:00 app[web.1]: Starting nginx... 2021-03-05T10:37:06.541647+00:00 heroku[web.1]: State changed from starting to up 2021-03-05T10:37:08.317871+00:00 heroku[router]: at=info method=GET path="/" host=canna-test-storefront.herokuapp.com request_id=9a39d2e6-8e8a-4291-bc08-725e1fa1666d fwd="120.20.214.185" dyno=web.1 connect=0ms service=8ms status=404 bytes=390 protocol=https 2021-03-05T10:37:08.319099+00:00 app[web.1]: 10.31.60.241 - - [05/Mar/2021:10:37:08 +0000] "GET / HTTP/1.1" 404 178 "https://dashboard.heroku.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36" 2021-03-05T11:13:32.101134+00:00 heroku[web.1]: Idling 2021-03-05T11:13:32.103392+00:00 heroku[web.1]: State changed from up to down 2021-03-05T11:13:34.018681+00:00 heroku[web.1]: Stopping all processes with SIGTERM 2021-03-05T11:13:34.094210+00:00 app[web.1]: Going down, terminating child processes... 2021-03-05T11:13:34.201281+00:00 heroku[web.1]: Process exited with status 0 2021-03-05T11:47:57.902026+00:00 heroku[web.1]: Unidling 2021-03-05T11:47:57.904479+00:00 heroku[web.1]: State changed from down to starting 2021-03-05T11:48:25.511188+00:00 heroku[web.1]: Starting process with command bin/boot 2021-03-05T11:48:30.439292+00:00 heroku[web.1]: State changed from starting to up 2021-03-05T11:48:30.098513+00:00 app[web.1]: Starting log redirection... 2021-03-05T11:48:30.099292+00:00 app[web.1]: Starting nginx... 2021-03-05T11:48:31.014351+00:00 app[web.1]: 10.63.103.37 - - [05/Mar/2021:11:48:31 +0000] "GET / HTTP/1.1" 404 178 "https://dashboard.heroku.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36" 2021-03-05T11:48:31.016965+00:00 heroku[router]: at=info method=GET path="/" host=canna-test-storefront.herokuapp.com request_id=56d29c60-7e89-42c7-98e3-99fa1eabdca2 fwd="120.20.214.185" dyno=web.1 connect=1ms service=5ms status=404 bytes=390 protocol=https

Browser shows Ngnix 404 page

System information Operating system: Win 10 Browser: Version 88.0.4324.190 (Official Build) (64-bit)

Skorefin avatar Mar 05 '21 11:03 Skorefin

Same problem here. I have deployed manually with instructions in docs. Dashboard and backend/playground work fine (both on localhost and Heroku). Storefront: Working only on localhost. On Heroku: browser shows Ngnix 404 page.

2021-03-12T21:30:39.727178+00:00 heroku[router]: at=info method=GET path="/" host=test-storefront.herokuapp.com request_id=2ad31db4-248d-4388-944b-29d3faa87f1c fwd="27.31.206.12" dyno=web.1 connect=0ms service=3ms status=404 bytes=390 protocol=https

gleniat avatar Mar 13 '21 12:03 gleniat

Can somebody fix this?

raymondfx avatar Mar 23 '21 12:03 raymondfx

Just encountered this, doesn't deploy on 2.11 and on 3.0 it deploys but leaves a "404 Not Found" page.

asantos3 avatar Apr 12 '21 23:04 asantos3