functional first commit
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
2025-09-13 18:53:43 +01:00
parent 8a14419628
commit 7bd5436ba4
12 changed files with 71 additions and 23 deletions

View File

@ -1,9 +1,11 @@
FROM ruby:2.7.1
FROM ruby:2.7.8
RUN apt-get update -qq &&\
curl -sL https://deb.nodesource.com/setup_10.x | bash - &&\
apt-get install -y build-essential libpq-dev nodejs &&\
useradd --user-group --create-home --shell /bin/false app
# Point to Debian archive repos instead of the dead ones
RUN apt-get update -qq && \
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y build-essential libpq-dev nodejs && \
useradd --user-group --create-home --shell /bin/false app
ENV HOME=/home/app
USER app

View File

@ -1,3 +1,3 @@
<strong>Halley Research Station</strong><br>
Brunt Ice Shelf<br>
Antarctica
<strong>Klostergasse 8</strong><br>
42897 Remscheid<br>
Deutschland

View File

@ -2,7 +2,7 @@
<div class="container-fluid">
<div class="row">
<div id="welcome-index-footer-cta" class="col-md-12 text-center">
<%= link_to 'RSVP TODAY!', new_guest_path, class: 'btn btn-primary wedding-cta-btn' %>
<%= link_to 'JETZT ANMELDEN!', new_guest_path, class: 'btn btn-primary wedding-cta-btn' %>
</div>
</div>
<div class="row">

View File

@ -5,7 +5,7 @@
<%= t :wedding_date %>, <%= t :wedding_location %>
</p>
<p>
<%= link_to 'RSVP TODAY!', new_guest_path, class: 'btn btn-primary wedding-cta-btn' %>
<%= link_to 'JETZT ANMELDEN!', new_guest_path, class: 'btn btn-primary wedding-cta-btn' %>
</p>
</div>
</section>

View File

@ -8,7 +8,7 @@
<div class="row">
<div class="offset-md-3 col-md-6">
<h2>Order of the Day</h2>
<p><strong>12:30pm</strong> &mdash; Guests arrive</p>
<p><strong>16:00</strong> &mdash; Guests arrive</p>
<p><strong>1pm</strong> &mdash; Wedding service</p>
<p><strong>1:30pm</strong> &mdash; Cocktails, photos, confetti and canapes</p>
<p><strong>3pm-6pm</strong> &mdash; Food and drink</p>

View File

@ -2,7 +2,7 @@
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1>When &amp; Where</h1>
<h1>Wann&quest; &amp; Wo&quest;</h1>
</div>
</div>
<div class="row">
@ -11,11 +11,11 @@
<%= render partial: 'calendar_svg' %>
<%- end %></h2>
<p>
<strong>12:30pm &ndash; late</strong><br>
<strong>16:00 &ndash; offen</strong><br>
<%= t :wedding_date %><br>
&nbsp;<br>
</p>
<p><%= link_to 'Add to Calendar', 'wedding.ics' %></p>
<p><%= link_to 'Zum Kalender hinzuf&uuml;gen', 'wedding.ics' %></p>
</div>
<div class="col-md-6 text-center">
<h2><%= link_to @google_maps_url do -%>

View File

@ -8,6 +8,21 @@ Rails.application.configure do
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false
Rails.application.routes.default_url_options[:host] = ENV.fetch("APP_HOST", "0.0.0.0")
Rails.application.routes.default_url_options[:port] = ENV.fetch("APP_PORT", 3000)
# Force Rails to generate URLs with your hostname instead of localhost
Rails.application.routes.default_url_options = {
host: ENV.fetch("APP_HOST", "beere5"),
port: ENV.fetch("APP_PORT", 3000)
}
# Force Rails to generate URLs with your hostname instead of localhost
Rails.application.routes.default_url_options = {
host: ENV.fetch("APP_HOST", "wedding.linepe.de"),
port: ENV.fetch("APP_PORT", 3000)
}
# Do not eager load code on boot.
config.eager_load = false

View File

@ -6,6 +6,21 @@ Rails.application.configure do
# Code is not reloaded between requests.
config.cache_classes = true
Rails.application.routes.default_url_options[:host] = ENV.fetch("APP_HOST", "0.0.0.0")
Rails.application.routes.default_url_options[:port] = ENV.fetch("APP_PORT", 3000)
# Force Rails to generate URLs with your hostname instead of localhost
Rails.application.routes.default_url_options = {
host: ENV.fetch("APP_HOST", "beere5"),
port: ENV.fetch("APP_PORT", 3000)
}
# Force Rails to generate URLs with your hostname instead of localhost
Rails.application.routes.default_url_options = {
host: ENV.fetch("APP_HOST", "wedding.linepe.de"),
port: ENV.fetch("APP_PORT", 3000)
}
# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web servers
# and those relying on copy on write to perform better.

View File

@ -8,6 +8,20 @@ Rails.application.configure do
# your test database is "scratch space" for the test suite and is wiped
# and recreated between test runs. Don't rely on the data there!
config.cache_classes = true
Rails.application.routes.default_url_options[:host] = ENV.fetch("APP_HOST", "0.0.0.0")
Rails.application.routes.default_url_options[:port] = ENV.fetch("APP_PORT", 3000)
# Force Rails to generate URLs with your hostname instead of localhost
Rails.application.routes.default_url_options = {
host: ENV.fetch("APP_HOST", "beere5"),
port: ENV.fetch("APP_PORT", 3000)
}
# Force Rails to generate URLs with your hostname instead of localhost
Rails.application.routes.default_url_options = {
host: ENV.fetch("APP_HOST", "wedding.linepe.de"),
port: ENV.fetch("APP_PORT", 3000)
}
# Do not eager load code on boot. This avoids loading your whole application
# just for the purpose of running a single test. If you are using a tool that

View File

@ -30,8 +30,8 @@
# available at http://guides.rubyonrails.org/i18n.html.
en:
wedding_name: "Jack & Jill's Wedding"
wedding_couple_names: 'Jack & Jill'
wedding_date: 'Saturday, 1 January 2000'
wedding_location: 'South Pole'
photo_credits: 'Photo Credits: Pexels'
wedding_name: "Caro & Rene's freie Trauung"
wedding_couple_names: 'Caro & Rene'
wedding_date: 'Samstag, 25 April 2025'
wedding_location: 'Klosterkirche, Remscheid'
photo_credits: 'Photo Credits: Rene'

View File

@ -10,11 +10,11 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20180804103058) do
ActiveRecord::Schema.define(version: 2018_08_04_103058) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
enable_extension "citext"
enable_extension "plpgsql"
create_table "active_admin_comments", force: :cascade do |t|
t.string "namespace"

View File

@ -9,8 +9,10 @@ services:
- '5432:5432'
web:
environment:
CANONICAL_URL: beere5:3033, wedding.linepe.de
build: .
ports:
- '3000:3000'
- '3033:3000'
links:
- db