Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Abdul Waheed Pasha
@AbdulWaheedPasha
jyoost
@jyoost
@AbdulWaheedPasha there is hope for you meeting your deadline then 🤓 I have no exper
Abdul Waheed Pasha
@AbdulWaheedPasha
@jyoost Thank you for your Motivation and Kind Words.I hope i meet the deadline.
jyoost
@jyoost
Recent experience with aws. I would suggest only using the minimum number of technologies to get it up and running on ads
Abdul Waheed Pasha
@AbdulWaheedPasha
@jyoost Cool will do it.
jyoost
@jyoost
Aws. I'll check it out today. There are many tutorials on deploying django on aws. Here is one https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html
Abdul Waheed Pasha
@AbdulWaheedPasha
@jyoost Thank you very Much.
jyoost
@jyoost
Don't let this forum become like the shopify forums. Saleor is much better for the technically inclined, self starting, not rich developers. It beats shopify hands down in ever aspect in the hands of a skilled developer.
You would be paying for all this information on a shopify resource site.
Fernando Reyes
@likewhoa
@zadigus my guide will not use docker, it's mostly a howto on setting up saleor with nginx (https only), PostgreSQL and uwsgi (emperor mode)
It focuses on the correct configuration settings to get it all going so uwsgi handles the application request and nginx handles static content serving
Laurent Michel
@zadigus
@likewhoa well, it's true that my use case is a bit more involved than that; with time, my configuration will involve e.g. a 3rd party assets provider service (min.io); nginx in my configuration is a reverse proxy / load balancer that redirects traffic to one of my saleor nodes. But that jps manifest documents pretty clearly what is needed to make saleor work.
jyoost
@jyoost
Show us t
viai
@viai69433425_twitter
Why does my saleor throw error like this? it's just right from the github repo version ; OSError at /en/
Error reading /workspace/saleor/saleor/webpack-bundle.json. Are you sure webpack has generated the file and the path is correct?
Pete Dermott
@petedermott
Gosh darn it Saleor have updated the way they store attributes AGAIN
I had only just finished the implementation for the old method :/
This is like the 4th change in as many months...
Chad Cassady
@beatboxchad
Docker's really great. I'm a late adopter, but it's definitely worth the fiddling. Once you learn it, you won't wanna go back.
Chad Cassady
@beatboxchad

developing with docker is way easier than deploying with docker, but I've done both and I say that deploying with docker is easier than standing up a server.

in production, I provide my own redis and postgres -- I don't try to use docker for that. There are plenty of cloud services, and for the initiated docker doesn't really provide any benefits for these plain services. It shines the most as an application container you can scale up and down and count on being the same every time, and that's how you should use it in production.

(For a web app like Saleor, anyway -- it's no longer true that Docker is wholly unsuitable for production databases, despite that screed we all read a few years ago, but the use case of the people in this room is probably more "go get a Postgres and Redis instance from AWS or on your Linode, make sure they are securely reachable from your container, and set the environment variables at runtime with docker run -e DATABASE_URL=postgresql://my.special.db/blabla/hope_i_got_this_fake_uri_right)

The biggest learning curve for me after Docker was Celery. I have been unsuccessfully trying to use the worker with --beat in the docker-compose image for Celery, because I want to run scheduled tasks. I think I just realized I can get the exact same effect with a crontab in the application image, so. Docker still comes in handy.

Docker rules. All the configuration and environment the app needs to run is in the docker image. My current client isn't THAT technical, and this could be a huge headache for us on delivery, and I'm definitely not going back to hand-wiring environments for each project ever again. Learn it, it's mature enough now, we've been skeptical since 2015. Engineers will nod in approval at the internals, too -- at the core it's a wrapper around Linux kernel functionality, it's like a chroot on steroids. It's fine and amazing, use it. The extra troubleshooting layer it represents is worth the troubleshooting layers it eliminates.

(But yeah, I hate this job. Relearning the whole stack every 3-5 years sucks.)

jyoost
@jyoost
Good info rant on! I recently read an article on medium that was a full celery / beat implementation on django with redis
Chad Cassady
@beatboxchad
\m/
jyoost
@jyoost
It is more like relearning every month. You woke up @beatboxchad. 🤓
Chad Cassady
@beatboxchad
@jyoost I was thinking of you when I said docker doesn't provide much value add for databases and caches to the initiated. We're both more liable to just add a DB to the Postgres instance we run on our personal Linode. ;)
yeah, in JS land at least, it does feel more like "every month" but time is going by faster the longer I do this. I definitely left the US west coast because of the gold-rush culture of our tech industry (and the effect it had on the economy for any creative type who didn't wanna devote their whole identity to the craft like a samurai), but I think that the pressure to adopt coming from such a team as Mirumee is a sign that some of the tech I was whining about in 2015-2016 (Docker and React, really) has matured
jyoost
@jyoost
The "big easy" is much better suited to creativity. Like me being in the middle of 27 acres in Oregon, with satellite internet.
WillCC
@WillCGitHub
Hello, does anyone know whether saleor has product taxonomies/tags implementation? If not, is there any active dev going on? would love to help
h8pwn
@h8pwn
How can I change the logo and related stuff if any?
do I have to change the code?
Maciej Korycinski
@korycins
@RL89pl your issue with vatlayer comes (probably) with the wrong configuration of plugins in settings.py. We introduced plugin architecture and tax logic uses it. Thanks to it you can use vatlayer or avalara or your own logic. By default, we left settings.PLUGINS list as an empty object which means that Saleor doesn't use any plugin. It was changed one or two weeks ago. Now, Vatlayer and Avalara are included by default. Dashboard2.0 has a settings section to provide all mandatory data for plugins and enable/disable plugins.
cc @maltitco :point_up:
Chad Cassady
@beatboxchad
\m/
jyoost
@jyoost
@korycins. Define plug-in.
Chad Cassady
@beatboxchad
the plugin system is awesome. It helps add your own logic without futzing with saleor core, which makes the system accessible to more developers.
And easier to work on. I like it a lot, and I wish I'd based my work on 2.8.0 instead of 2.6.0. I don't have funding to redo it, but my next project will absolutely use it.
Maciej Korycinski
@korycins
@jyoost exactly as @beatboxchad said. You can read more about this here - https://docs.getsaleor.com/docs/customization/extensions/
Vatlayer and Avalara work based on this.
jyoost
@jyoost
@korycins @beatboxchad thank you. Great addition.
h8pwn
@h8pwn
Is there any documentation on how to use docker with the pwa store front on production?
or even deploying it without docker for production?
Pete Dermott
@petedermott
@h8pwn Saleor is really just a django app, if can deploy django to production the process is more or less the same
Abdul Waheed Pasha
@AbdulWaheedPasha
Screenshot 2019-09-19 at 7.12.18 PM.png
i have hosted PWA : https://github.com/mirumee/saleor-storefront
on EC2 ubuntu
After running command :
npm start
it gets stuck to "wait until bundle finished:"
but PWA works great in local MAC system
emz6039
@emz6039
Im trying to add my own static folder called custom (subfolders contains .ts), I know that the webpack looks for .ts, .js and .css files. How would I go about excluding my custom folder (with all its contents) when npm run build assets? I've seen it on the webpack.config.js it exclude the "/node_modules/", I've tried doing exclude: [ /node_modules/, /custom/ ] but does not seem to work.
alex
@alexalexyang

hi. i have saleor on my ubuntu instance and saleor-storefront on netlify. things seem fine on the sample site but the product page on storefront doesn't load. console displays a TypeError. i wrote details about it here: https://stackoverflow.com/questions/58019716/saleor-frontend-product-page-not-loading-due-to-typeerror

can someone point me in the right direction to solve this? thanks.

alex
@alexalexyang
the above problem is sort of maybe solved now. thanks
Chad Cassady
@beatboxchad
\m/