Name (and purpose) change

Using this as my own site now
This commit is contained in:
Trevor Vallender 2023-09-17 12:24:54 +01:00
parent 2a44d71478
commit f9802ea7ca
10 changed files with 20 additions and 22 deletions

View File

@ -1,11 +1,9 @@
# Summon Player
# soc
Summon player is a lightweight digital helper for tabletop games. It is designed
for use in a few situations:
- To use for theatre of the mind games alongside a video call platform
- To use alongside a platform such as Owlbear Rodeo
- For Play-by-Post games
- To manage in-person games
Soc (stream of consciousness) is a personal website platform for introverts. It is
designed to run a blog as well as a microblog.
This codebase is currently geared for my own site, but can be easily adapted.
# Development environment
@ -14,5 +12,5 @@ still be able to use `devenv.nix` as documentation of what is required.
# Deployment
The plan is to use MRSK for deployment.
The plan is to use Kamal for deployment.

View File

@ -1,4 +1,4 @@
class ApplicationMailer < ActionMailer::Base
default from: "hello@summonplayer.com"
default from: "hello@tsvallender.co.uk"
layout "mailer"
end

View File

@ -1,10 +1,10 @@
Hi,
Please visit the following link to confirm your email and access your new
account at Summon Player:
account at Soc
<%= confirm_email_url(email: @user.email, confirmation_string: @user.email_confirmation_string) %>
Thanks,
The Summon Player team.
The Soc team.

View File

@ -7,7 +7,7 @@ require "rails/all"
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module SummonPlayer
module Soc
class Application < Rails::Application
config.load_defaults 7.0

View File

@ -7,4 +7,4 @@ test:
production:
adapter: redis
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
channel_prefix: summon_player_production
channel_prefix: soc_production

View File

@ -4,18 +4,18 @@ default: &default
# For details on connection pooling, see Rails configuration guide
# https://guides.rubyonrails.org/configuring.html#database-pooling
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
username: summon_player
username: soc
development:
<<: *default
database: summon_player_development
database: soc_development
password: postgres
test:
<<: *default
database: summon_player_test
database: soc_test
production:
<<: *default
database: summon_player_production
password: <%= ENV["SUMMON_PLAYER_DATABASE_PASSWORD"] %>
database: soc_production
password: <%= ENV["SOC_DATABASE_PASSWORD"] %>

View File

@ -60,7 +60,7 @@ Rails.application.configure do
# Use a real queuing backend for Active Job (and separate queues per environment).
# config.active_job.queue_adapter = :resque
# config.active_job.queue_name_prefix = "summon_player_production"
# config.active_job.queue_name_prefix = "soc_production"
config.action_mailer.perform_caching = false

View File

@ -1,5 +1,5 @@
en:
site_title: Summon Player
site_title: T S Vallender
home: Home
log_in: Log in
log_out: Log out

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true
Rails.application.routes.draw do
default_url_options :host => "summonplayer.com"
default_url_options :host => "tsvallender.co.uk"
root "home_pages#index"

View File

@ -22,7 +22,7 @@
enable = true;
listen_addresses = "127.0.0.1";
initialScript = ''
CREATE ROLE summon_player WITH LOGIN PASSWORD 'postgres' SUPERUSER;
CREATE ROLE soc WITH LOGIN PASSWORD 'postgres' SUPERUSER;
'';
};