Giter Site home page Giter Site logo

gabrieljoelc / eat_the_food Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 288 KB

Yet another attempt to make Docker + Rails + Heroku work. Futures: migrate to Kubernetes

Home Page: https://prod-eat-the-food.herokuapp.com/

Ruby 77.51% JavaScript 2.31% CSS 3.96% HTML 16.22%

eat_the_food's People

Contributors

gabrieljoelc avatar

Watchers

 avatar  avatar

eat_the_food's Issues

Ensure sub-processes and resources work in production

From #2:

  • Other sub-processes/resrouces to still be tested:
    • ActiveMail - SMTP
    • ActiveJob - Redis
    • ActionCable - Redis, CORS
    • Cache - Redis

Some things we might need:

  • Dockerfile.sidekiq
  • Dockerfile.cable
    so we can do (see this doc):
heroku container:push --recursive
=== Building web
=== Building sidekiq
=== Building cable

Also, consider renaming website to web in docker-compose.yml to align with the web Dyno process.

Make email de-duping work

  • Make autoloading (for development) work for /lib
  • Figure out how to load a monkey patch (I cheated and require_relative in application.rb
  • Make eager loading (for production) work for /lib
  • UI for 100 emails and single test (no user input for # of emails or tests)
  • require: false for faker
# config/development.rb
+= %W[#{config.root.join('lib')}] # can't get working
+= Dir["#{config.root}/lib/**/"] # didn't work either
# config/application.rb
# got this working after I moved it to this file ¯\_(ツ)_/¯
+= [config.root.join('lib'), config.root.join('lib', 'distincitifier')]

Sandbox implementation

Resources

http://blog.bigbinary.com/2016/08/29/rails-5-disables-autoloading-after-booting-the-app-in-production.html
https://stackoverflow.com/a/7204837/34315

UI improvements

  • Remove "Test nav item"
  • Add Tina image to homepage
  • Link to see for yourselves and email de-dup
  • Add Tina image to header
  • Make homepage weird

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.