Compare commits

...

2 Commits

Author SHA1 Message Date
Trevor Vallender 4d53c8dd46 Started a /uses page, wip
/ test (push) Has been cancelled Details
2024-03-08 14:52:10 +00:00
Trevor Vallender 8e1f11ac87 Add volume for ActiveStorage 2024-03-08 14:33:17 +00:00
4 changed files with 43 additions and 0 deletions

View File

@ -6,4 +6,6 @@ class HomePagesController < ApplicationController
def index def index
@latest_blog_post = BlogPost.published.order(created_at: :desc).first @latest_blog_post = BlogPost.published.order(created_at: :desc).first
end end
def uses ; end
end end

View File

@ -0,0 +1,36 @@
<section class="content">
<h2>/uses</h2>
<p>This page is inspired by <%= link_to "/uses", "https://uses.tech" %>.</p>
<p>For a more or less complete config, check out my <%= link_to "dotfiles", "https://git.tsvallender.co.uk/tsv/dotfiles" %>.</p>
<hr>
<h3>Hardware</h3>
<p>Incoming… about to build a new PC.</p>
<h3>Development environment</h3>
<dl>
<dt>Neovim</dt>
<dd>The centrepiece</dd>
<dt>tmux</dt>
<dd></dd>
</dl>
<h3>Self-hosted</h3>
<dl>
<dt>Wallabag</dt>
<dd></dd>
</dl>
<h3>Other stuff</h3>
<dl>
<dt>Home Assistant</dt>
<dd>I run the fantastic <%= link_to "Home Assistant", "https://www.home-assistant.io/" %> for smart home stuff. Im
not doing anything too fancy with it currently, mostly lighting and TRVs.</dd>
</dl>
</section>

View File

@ -17,6 +17,9 @@ servers:
options: options:
network: kamal network: kamal
volumes:
- /srv/soc/storage:/rails/storage
registry: registry:
username: tsvallender username: tsvallender
password: password:

View File

@ -4,6 +4,8 @@ Rails.application.routes.draw do
default_url_options :host => "tsvallender.co.uk" default_url_options :host => "tsvallender.co.uk"
root "home_pages#index" root "home_pages#index"
get "uses" => "home_pages#uses", as: :uses
get "μposts", to: "microposts#index" get "μposts", to: "microposts#index"
# Users and sessions # Users and sessions