This commit is contained in:
@ -1,7 +1,9 @@
|
||||
FROM ruby:2.7.1
|
||||
FROM ruby:2.7.8
|
||||
|
||||
# Point to Debian archive repos instead of the dead ones
|
||||
|
||||
RUN apt-get update -qq && \
|
||||
curl -sL https://deb.nodesource.com/setup_10.x | bash - &&\
|
||||
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
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
<strong>Halley Research Station</strong><br>
|
||||
Brunt Ice Shelf<br>
|
||||
Antarctica
|
||||
<strong>Klostergasse 8</strong><br>
|
||||
42897 Remscheid<br>
|
||||
Deutschland
|
||||
|
@ -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">
|
||||
|
@ -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>
|
||||
|
@ -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> — Guests arrive</p>
|
||||
<p><strong>16:00</strong> — Guests arrive</p>
|
||||
<p><strong>1pm</strong> — Wedding service</p>
|
||||
<p><strong>1:30pm</strong> — Cocktails, photos, confetti and canapes</p>
|
||||
<p><strong>3pm-6pm</strong> — Food and drink</p>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center">
|
||||
<h1>When & Where</h1>
|
||||
<h1>Wann? & Wo?</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@ -11,11 +11,11 @@
|
||||
<%= render partial: 'calendar_svg' %>
|
||||
<%- end %></h2>
|
||||
<p>
|
||||
<strong>12:30pm – late</strong><br>
|
||||
<strong>16:00 – offen</strong><br>
|
||||
<%= t :wedding_date %><br>
|
||||
<br>
|
||||
</p>
|
||||
<p><%= link_to 'Add to Calendar', 'wedding.ics' %></p>
|
||||
<p><%= link_to 'Zum Kalender hinzufügen', 'wedding.ics' %></p>
|
||||
</div>
|
||||
<div class="col-md-6 text-center">
|
||||
<h2><%= link_to @google_maps_url do -%>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
|
@ -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"
|
||||
|
@ -9,8 +9,10 @@ services:
|
||||
- '5432:5432'
|
||||
|
||||
web:
|
||||
environment:
|
||||
CANONICAL_URL: beere5:3033, wedding.linepe.de
|
||||
build: .
|
||||
ports:
|
||||
- '3000:3000'
|
||||
- '3033:3000'
|
||||
links:
|
||||
- db
|
||||
|
Reference in New Issue
Block a user