These are chat archives for mirumee/saleor

29th
Nov 2018
Muhammad Bandawa
@mdnur89
Nov 29 2018 06:30
Guys, I invoked npm install before ./
before manage.py runserver .. does it have any implications ?
saleor217
@saleor217
Nov 29 2018 08:23
hi anyone know how to assign annonyms cart data to the facebook or google sign in user
?
jdivins
@jdivins
Nov 29 2018 08:31
@saleor217 have you configured google sign in in localhost? Where can I generate the key and password for oauth2?
saleor217
@saleor217
Nov 29 2018 09:44
HI @jdivins i did google sign in localhost by simply follow following steps
1) first goes to google developer's console
get your secret key and clientid
M Abdullah Abid
@wulaaf
Nov 29 2018 09:50
Is there a way to filter by variant SKUs on the dashboard/products page?
Filip Kucharczyk
@Pacu2
Nov 29 2018 09:57
It should be relatively easy to adjust the currently implemented search functions, but at this moment search is performed only over name and description AFAIR
jdivins
@jdivins
Nov 29 2018 10:08

@saleor217 I have tried in localhost and get this error after trying login: Error: redirect_uri_mismatch

The redirect URI in the request, https://localhost:8000/complete/google-oauth2/, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs

jdivins
@jdivins
Nov 29 2018 10:30
@saleor217 finally I got it, I have got to authorize the domain in google credentials configuration
jdivins
@jdivins
Nov 29 2018 10:44
jdivins
@jdivins
Nov 29 2018 10:57
Another question, has anybody run saleor over SSL on localhost?
I have tried the export ENABLE_SSL='True'
Filip Kucharczyk
@Pacu2
Nov 29 2018 11:20
It's no different than running and django-based app on SSL locally, you might want to use https://django-extensions.readthedocs.io/en/latest/runserver_plus.html
jdivins
@jdivins
Nov 29 2018 11:32
ok thank you @Pacu2
saleor217
@saleor217
Nov 29 2018 11:38
here in salero dashbaord> site settings > Authorization keys
you have to pass cllient id and secreat key
@jdivins https may not works....
in your case is it working or not? plz replay on it.
so,other's can know about it.
Filip Kucharczyk
@Pacu2
Nov 29 2018 11:52
@saleor217 check the url I've linked, there's an info how to run server locally with SSL enabled
jdivins
@jdivins
Nov 29 2018 12:13
@saleor217 yes I have added the key an secret there. I have tried to run in https mode on localhost to test it. Now I get this other error: requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.googleapis.com/plus/v1/people/me?...
The error I get is loading the page: https://localhost:8000/complete/google-oauth2/?state=....
Anyone knows why the return url of Google API redirects to https://localhost:8000 instead of http://localhost:8000 ?
I have added all the urls on the urls authorized on google api credentials config.
M Abdullah Abid
@wulaaf
Nov 29 2018 12:50
Is it possible to use Facebook Pixel with Saleor?
jdivins
@jdivins
Nov 29 2018 13:06
@Pacu2 the link worked for me, but this one: https://yos.io/2013/12/17/effective-django-debugging-with-runserver-plus/ explains better how to add to django project:
Filip Kucharczyk
@Pacu2
Nov 29 2018 13:20
As I remember, https is a must for Facebook and Google login integrations, insecure redirects are not permitted
Muhammad Bandawa
@mdnur89
Nov 29 2018 13:45
Quick question: is the logo here customizable like can it be changed?
Marcin Gębala
@maarcingebala
Nov 29 2018 14:10
@mdnur89 Yes, you can change it in the source code (HTML).
Well, there are logo-document.svg and logo.svg files in the repository, if you swap them to your logo it should work without touching the code ;)
Ray Besiga
@raybesiga
Nov 29 2018 16:54
Hey guys, this is something I have created an issue for before but not really pursued enough, probably out of fear of fucking up. Anyhow, here goes. Aside from Heroku and AWS, has anyone here had any luck deploying Saleor outside of these two options? I find AWS a little complicated, and Heroku is simple but they make easy things like SSL/HTTPS for custom domains to too expensive on the monthly plan. If you have had luck deploying Saleor outside of the documented options, care to share? What was your experience? Thanks! cc @NyanKiyoshi @Pacu2 @maarcingebala :)
Eli Spizzichino
@diramazioni
Nov 29 2018 17:01
@raybesiga @gnihton_gitlab was writing about Kubernetes the other day. I'm also all ear when it comes to find the cheapest option for a small site I'm setting up
Ray Besiga
@raybesiga
Nov 29 2018 18:11
Hey @diramazioni what did he say about his experience? I am in the same spot as you. Let's see if we can get pointers from the community.
Ray Besiga
@raybesiga
Nov 29 2018 18:26
Hi @Pacu2 I wish to pull Saleor master upto the version just before Saleor 2.0 or up to this tag https://github.com/mirumee/saleor/tree/v2018.09 my tag list is up till the v2018.04 version. How can i pull and update to 09? Thanks.
Filip Kucharczyk
@Pacu2
Nov 29 2018 18:42
Have you tried fetching the latest tags? git fetch --tags
Marcin Gębala
@maarcingebala
Nov 29 2018 18:52
@raybesiga I remember that once we hosted our Saleor project on Digital Ocean, have you checked that option?
Ray Besiga
@raybesiga
Nov 29 2018 20:02
@Pacu2 yes i have. This is content of my tag list: demo/v2017.10
demo/v2017.10.1
demo/v2017.11.1
demo/v2017.11.2
demo/v2017.11.3
demo/v2017.11.4
demo/v2017.12
demo/v2017.12.1
demo/v2018.01
demo/v2018.02
demo/v2018.03
demo/v2018.03.1
demo/v2018.04
demo/v2018.04.1
demo/v2018.04.2
v2016.07.0
v2017.02.0
v2017.02.1
v2017.03.0
v2017.03.1
v2017.03.2
v2017.03.3
v2017.03.4
v2017.07.0
v2017.09
v2017.10
v2017.11
v2017.12
v2017.12.1
v2018.01
v2018.02
v2018.03
v2018.04
@maarcingebala I have not tried DO. Do you by any chance have documentation that I can look at? Thanks
Filip Kucharczyk
@Pacu2
Nov 29 2018 20:35
@raybesiga Are you for sure pulling the tags from the mirumee/saleor repo, not your fork?