These are chat archives for mirumee/saleor

16th
Aug 2018
Mateusz Barlikowski
@Kappa7
Aug 16 2018 09:03
Hello!
Patryk Zawadzki
@patrys
Aug 16 2018 09:04
:wave:
Mateusz Barlikowski
@Kappa7
Aug 16 2018 09:12
I have problem with seleor. I want to start the project local so i cloned it from github, then i've done all steps from instruction and at nmp install i have some problems with packages, at nmp run build-assets i have error that can't create any assets so when i runserver i have error: "[Errno 2] No such file or directory: '/home/maxiecu/saleor/saleor/static/assets'"
Saqib khan
@saqibkhan2523
Aug 16 2018 09:47
@Kappa7 Have you run python manage.py collectstatic?
Marcin Gębala
@maarcingebala
Aug 16 2018 09:51
@Kappa7 Make sure that you have recent versions of node and npm (e.g. latest stable releases).
Saqib khan
@saqibkhan2523
Aug 16 2018 09:56
when deploying saleor on server. how can I export key I tried the command but apache error.log shows secret key must not be empty error.
Mateusz Barlikowski
@Kappa7
Aug 16 2018 09:58
@elwoodxblues I checked it like 10 times, @saqibkhan2523 when i try to run i have same error -> no directory, about your question -> you can set secret_key on settings.py
Saqib khan
@saqibkhan2523
Aug 16 2018 10:04
@Kappa7 then update your node and npm and @elwoodxblues suggested. Happened to me too.
@Kappa7 and I set secret key in setthings.py run it but error.log still shows the error.
Mateusz Barlikowski
@Kappa7
Aug 16 2018 10:10
So in settings.py You have # Make this unique, and don't share it with anybody.
SECRET_KEY = 'here_is_your_secret_key' ?
NyanKiyoshi
@NyanKiyoshi
Aug 16 2018 10:12
@saqibkhan2523 did you try doing SetEnv SECRET_KEY somethingsomething in your VirtualHost?
Saqib khan
@saqibkhan2523
Aug 16 2018 10:25
@NyanKiyoshi yes SetEnv SECRET_KEY 'secret_key' error.log still have same error
I have posted the whole error in issues #2571
Marcin Gębala
@maarcingebala
Aug 16 2018 10:34
Small announcement from the Saleor team. If anyone here is interested in contributing to Saleor, there is a lot of issues on Github to take, but we would recommend starting with tickets labeled as bug or help wanted. I've also moved some interesting issues to the milestone 2018.08 - https://github.com/mirumee/saleor/milestone/33. Feel free to take them and ask questions if you have any. Forgive us if we're not always responding on time, but the whole team is working hard on the new single-page dashboard and storefont. We really appreciate your feedback and contributions, thanks!
@saqibkhan2523 It seems that the SECRET_KEY is not set in the terminal you're trying to run the server.
Does it work if you set the key manually in settings.py?
Mateusz Barlikowski
@Kappa7
Aug 16 2018 10:37
About my problem - i solved it but still i dunno how. Anyways, he said that after he set it manually problem still occurs.
Marcin Gębala
@maarcingebala
Aug 16 2018 10:42
Sounds strange, we don't do anything particular with SECRET_KEY, all the logic related to it is handled by Django itself.
Saqib khan
@saqibkhan2523
Aug 16 2018 10:43
@elwoodxblues no I tried that as well. assigned the value to SECRET_KEY but no luck
@saqibkhan2523 okay i will look it up
Saqib khan
@saqibkhan2523
Aug 16 2018 11:03
@elwoodxblues It accepted the key from settings.py I was assigning it the wrong way.
But now its this error:
[Thu Aug 16 06:01:29.739368 2018] [wsgi:error] [pid 19346:tid 140254052517632] [remote 39.45.252.79:9712] from .health_check import health_check # noqa [Thu Aug 16 06:01:29.739387 2018] [wsgi:error] [pid 19346:tid 140254052517632] [remote 39.45.252.79:9712] ModuleNotFoundError: No module named '_mod_wsgi_ef45d16da4dfa0305bb6c003d6555503.health_check'; '_mod_wsgi_ef45d16da4dfa0305bb6c003d6555503' is not a package
Josh Peterson
@joshkpeterson
Aug 16 2018 18:52
I'm adding the capability for non-admin users to do large file uploads and looking at getting dropzone to do direct to S3 and then saving the S3 url on the model. Does this sound reasonable, is there anything in the existing saleor codebase / required libraries that makes this more straight forward?
HAOYU CHEN
@haoyuc1_twitter
Aug 16 2018 22:29
Hi, guys. I am trying to use graphql of saleor. I am wonder that how to verify my certification when I use Query?
I can use tokenCreate in mutation. But, I cannot use this in Query.