Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    B D
    @bayareacoder
    The automated generation of shops is interesting. Can you elaborate more on that how you would use Vercel to do that? We use a deployment similar to reaction-development-platform ie. Docker hosted on DigitalOcean.
    B D
    @bayareacoder
    Seems it should be possible to use a DO API in combination with the Ansible script to modify the Docker deployment to add a store but curious to your implementation how you used Vercel to do this, e..g are you using Vercel just for the storefront and then running the rest in a Docker container elsewhere? If so, how do you handle the communication between Hydra and storefront since I think some of that is supposed to run on internal ports within Docker. Also how do you setup the SSL if using admin and storefront in different deployments: they'd be on different domains I assume?
    1 reply
    Sebastian Franco - Devops Engineer
    @jhonsfran1165
    1. For us, the shopId is the owner of the data. We have a 1-1 relation between accounts and shops, but we support multiple shops per account using the adminUIShopIds. The shopId in the accounts collection indicates what tenant it belongs to. We manage permissions by granting the proper groups to each account when it's created.

    2. Yes we are using a select component that allows us to administrate each shop that the account has assigned. For instance, if an account has, lets say four shops, the select component list each shop, and the user can select the shop and the admin fetch the corresponding data to that shop. It's very practical indeed, but for now, our use case for this functionality is for the primary shop that handles other shops. It's working very well at the moment.

    3. You are right I'm not sure if that works in your case since you are not using Hydra. But your implementation sounds very tricky, so I can't help without having more specific details.

    4. We use vercel to deploy shops. We created a plugin to integrate a vercel with RC. The problem with deploying storefronts in your infrastructure is that you are charged for resources that do not core for your business. At least that's how we see it in our case. So we just want to have the core services in our infrastructure and depending on each client we use logflare and sentry to monitor each storefront from vercel.

    I hope that helps you.

    m5ingh
    @m5ingh
    @jhonsfran1165 your insights are pure gold. cant thank you enough. the summary you provided helped me immensely in understanding the intricacies of the platform and provided me clarity that i needed. i will worry about new auth system when it arrives. hopefully it will be ory keto and kratos as they indeed make permissions and user management cleaner.
    Sebastian Franco - Devops Engineer
    @jhonsfran1165
    @m5ingh you're welcome!
    B D
    @bayareacoder
    @jhonsfran1165 i read up on HashiCorp Consul that you mentioned and their TLS proxies are indeed an elegant solution for secure networking between Dockerized app and an outside app (your storefront instances on Vercel). In our case I think we’ll run everything on DO with storefronts in separate droplets that we can scale so then we should be able to use an overlay network with Docker Swarm for secure comms.
    alfred-godoy
    @alfred-godoy:matrix.org
    [m]
    Hey y'all! Is there a nice way to get "hot reloading" working when coding api plugins? Running bin/package-link on every change is sooo tiresome! ;)
    Loan Laux
    @loan-laux
    @alfred-godoy:matrix.org no straightforward and easy way as far as I know :(
    alfred-godoy
    @alfred-godoy:matrix.org
    [m]
    Ok, maybe I'll set up some hook in my editor then. Thanks for your response!
    Loan Laux
    @loan-laux
    That might be the best solution indeed
    nomad-lw
    @nomad-lw
    Hi! Just popped in to check on which release of the development-platform can be considered stable enough for a small production deployment?
    Last I checked, 3.9.0 was stable and 3.11 broke the admin UI a bit
    Loan Laux
    @loan-laux
    @nomad-lw There was a good number of bugs fixed in the latest version of the admin. I’d say latest version of everything will get you the most stable experience.
    4 replies
    Alan Ng
    @DeveloperAlan
    @jhonsfran1165 by any chance that plugin is open sourced? would like to use vercel for my reaction commerce configuration
    Sebastian Franco - Devops Engineer
    @jhonsfran1165
    @DeveloperAlan Hi! Yes, It's going to be open sourced soon. We are fixing some bugs and working in the provider to use vercelcommerce :D
    ahsanazeem313
    @ahsanazeem313
    hey guys,i am new to use reaction and i am unable to get stored products in storefront.i deployed reaction from https://github.com/reactioncommerce/reaction-development-platform on AWS vm. i changed localhost into vm ip.
    i have changed the localhost into vm ip but graphql still running on http://localhost:3000/graphql .please guide me.
    image.png
    claptonorioste
    @claptonorioste
    how to deploy Reaction Commerce in Lightsail ? can i use this https://github.com/reactioncommerce/reaction-development-platform ?
    Loan Laux
    @loan-laux
    @claptonorioste the development platform is just a way for developers to get the whole environment started easily on their work machines. It shouldn’t be used for deployments, even for dev environments. I’m not sure about Lightsail specifically, but deploy Reaction like any other set of Docker containers. Something like Portainer could help, depending on your use case.
    claptonorioste
    @claptonorioste
    @loan-laux i found the docker images but where can i setup the mongo db url.. im using ubuntu 18.04 VM
    Loan Laux
    @loan-laux
    @claptonorioste pass MONGO_URL as an environment variable in your container configuration
    claptonorioste
    @claptonorioste
    @loan-laux how to add authorize net as a payment ?
    Loan Laux
    @loan-laux
    @claptonorioste you’ll have to build your own plug-in for it
    claptonorioste
    @claptonorioste
    Hello @loan-laux is it ok to use the older version since it is easier to deploy using meteor galaxy
    Loan Laux
    @loan-laux
    Hi @claptonorioste. No, versions prior to 3.0 are deprecated, don’t receive security updates anymore and represent a huge risk being used in production. Not only that, but they’re also a huge pain to work with (dev experience has improved a lot since then).
    If you need assistance for a deployment of Reaction 3, my team at out:grow would be happy to help. We do turnkey deployments for clients on AWS ECS for a fixed price. Feel free to e-mail me at loan@outgrow.io if you’re interested.
    claptonorioste
    @claptonorioste
    hello @loan-laux i successfully installed reaction commerce 3.0 using traefik i followed the tutorial but i cant seem to drag and drop the navigation
    Screenshot from 2021-05-06 14-22-14.png
    alfred-godoy
    @alfred-godoy:matrix.org
    [m]
    To what extent can I scale up the reaction api process in parallell? Can I run multiple instances, just pointing them all to the same database, and it will work out of the box?
    (I.e. load balancing requests over multiple servers.)
    claptonorioste
    @claptonorioste
    also how to apply the plugins in prod ?
    Loan Laux
    @loan-laux
    @claptonorioste which version of reaction-admin are you running? This bug was fixed a while ago
    @alfred-godoy:matrix.org Indeed, just run multiple instances pointed at the same database and load-balance them. You can run as many of these parallel instances as you want. Reaction was built with this use case in mind.
    claptonorioste
    @claptonorioste
    reaction-admin v3.0.0-beta.13
    Loan Laux
    @loan-laux
    @claptonorioste any errors in the container logs or the browser console?
    Jithin Paul
    @jithinpaul-sm2010
    Hi, I'm new to the reaction. It would be very helpful if anyone tel me how to set up reacts store and reaction-admin locally in UI. So i can edit and add my templates to UI part.
    claptonorioste
    @claptonorioste
    Screenshot from 2021-05-09 10-40-45.png
    getting that error in reactin-admin
    Loan Laux
    @loan-laux
    @jithinpaul-sm2010 The docs at mailchimp.com/developer/open-commerce should cover the process of getting started. Let me know if there’s anything missing in there!
    Akarshit Wal
    @Akarshit
    Hello everyone!
    This is Akarshit from Mailchimp and I had a news to share with you all. We are officially moving off Gitter and will be migrating to Discord.
    Here is the invite to the server: https://discord.gg/Bwm63tBcQY
    I request you all to deprecate this channel and move conversations to the Discord server.
    vaneet
    @zmcomputing
    @m5ingh @jhonsfran1165 @loan-laux : I have been reading messages on understanding if multi shop option is available from reaction commerce. I downloaded latest release from GitHub, and i do not see options in admin. Also when I tried to create new shop, it hanged. figuring out how to see logs and play with it. Thanks again