Git Product home page Git Product logo

Comments (4)

jaydestro avatar jaydestro commented on August 16, 2024 1

i have submitted a change to make the application closer to production for k8s deployments by adding an external interface - as a cloud advocate myself, having a public visible endpoint adds value for the person trying out the application.

from ecommerce-workshop.

martinisoft avatar martinisoft commented on August 16, 2024

In order to support this, I have begun rebuilding the app from scratch in Rails 6.0 which was started via #28 because there are a few problems with the way things are currently built now.

Originally, this was forked from the spree repo from a pre-release version of Spree which was destined to become a Rails 6.0 based version so it was kind of doomed from the start. The fact it is even running now is something short of a miracle. This baseline cascaded into the docker setup which was all built upon the older Rails so it is now impossible to upgrade without significant work and changes. That being said, I think it's time to clean the slate and start fresh, so here is what I propose after things quiet down:

  • From the base rails app in #28 we re-generate a fresh Spree install
  • Apply new CircleCI build pipeline so we can automate the docker container builds and leverage caching for speed
  • Extract out the store items into a database seeds file so they can be applied to any environment
  • Stick to one version of the app with environment variable feature gates which we could comment out in the docker compose file for easier customization and easier to find tweaks so they serve as code examples
  • Build a new helm chart which can be applied to a local or remote k8s/k3s cluster
  • Build new terraform files to apply to the popular platforms like Azure/AWS/GCP

from ecommerce-workshop.

martinisoft avatar martinisoft commented on August 16, 2024

i have submitted a change to make the application closer to production for k8s deployments by adding an external interface - as a cloud advocate myself, having a public visible endpoint adds value for the person trying out the application.

Thank you for submitting that. I did set this up with a storedog.app domain for the Fastly webinar, but I'd like to make that a more semi-permanent thing.

from ecommerce-workshop.

shermdog avatar shermdog commented on August 16, 2024

In chatting with @martinisoft we do think removing rack-mini-profiler is a good idea as we move to a more production model. Making a note here for future reminder.

from ecommerce-workshop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.