Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Docker dependency? #74

Open
basicfeatures opened this issue Dec 15, 2023 · 1 comment
Open

Remove Docker dependency? #74

basicfeatures opened this issue Dec 15, 2023 · 1 comment

Comments

@basicfeatures
Copy link

basicfeatures commented Dec 15, 2023

Would it be possible to remove Docker as a dependency?

Please see https://medium.com/@brucedandbattered/openbsd-vs-docker-and-linux-deploying-ruby-on-rails-in-production-320c90bcb934 for my latest article.

As an architect, my plan is to improve the UI. Still gonna be Rails and StimulusReflex-based, but with a minimal, fully semantic approach instead without any CSS frameworks or messy views.

@basicfeatures
Copy link
Author

basicfeatures commented Dec 15, 2023

Quick illustration, for instance:

<div class="space-y-4">

  <div class="p-3 sm:p-4 flex justify-between items-center">
    <h1 class="text-xl text-gray-300 font-medium"><%= it("Conversations") %></h1>

  </div>

  <div class="p-3 space-y-8">
  <% @latest_conversations.group_by(&:bot_id).each do |_, conversations| %>
    <div>
      <%= link_to conversations.first.bot do %>
        <div class="flex mb-3 items-end gap-2">
          <%= image_tag conversations.first.bot.image_url, class: "bg-gray-700 rounded-md w-16" %>
          <div>
            <div class="text-xl text-gray-200"><%= conversations.first.bot.name %></div>
            <div class="text-md text-gray-300"><%= it(conversations.first.bot.role) %></div>
          </div>
        </div>
      <% end %>
      <div class="space-y-3">
        <%= render conversations %>
      </div>
    </div>
  <% end %>
  </div>

</div>

Would become:

<h1><%= it("Conversations") %></h1>
<% @latest_conversations.group_by(&:bot_id).each do |_, conversations| %>
  <%= link_to conversations.first.bot do %>
    <h3><%= conversations.first.bot.name %></h3>
    <h4><%= it(conversations.first.bot.role) %></h4>
    <%= image_tag conversations.first.bot.image_url %>
  <% end %>
<% end %>
<%= render conversations %>

And have the minimal SCSS needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant