Comments (4)
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.
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.
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.
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)
- ads-service and discounts-service have the database address hardcoded to "db" HOT 1
- Discount codes should work HOT 3
- Tracer contexts are not working in logs
- update logging configuration in store-frontend so that Ruby intergration pipeline can be used as is HOT 5
- ARM build support
- discounts-service or discounts in the k8s yaml files HOT 1
- RUM config `env` value should come from environment var HOT 1
- Auto-generate RUM data HOT 5
- Problems building store-frontend-broken-no-instrumentation HOT 1
- Expose and increase Shopping Cart functionality
- Getting NoMethodError after deployment using generic-k8s method HOT 1
- RUM not working HOT 2
- Hardcoded agent on localhost in advertisements and discounts HOT 3
- Make ads and discounts services XHR compatible HOT 1
- Add to cart does not work in embedded synthetic browser test recorder HOT 2
- Update ddtrace in discounts and ads services to latest
- Update ddtrace Gem in storefornt to lates tversion
- Unable to export profile: ddtrace.profiling.exporter.ExportError: HTTP Error 403
- ECS example: Error loading the 'postgresql' Active Record adapter HOT 1
- Unable to deploy storedog Application HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecommerce-workshop.