parent
2a44d71478
commit
f9802ea7ca
14
README.md
14
README.md
|
@ -1,11 +1,9 @@
|
||||||
# Summon Player
|
# soc
|
||||||
|
|
||||||
Summon player is a lightweight digital helper for tabletop games. It is designed
|
Soc (stream of consciousness) is a personal website platform for introverts. It is
|
||||||
for use in a few situations:
|
designed to run a blog as well as a microblog.
|
||||||
- To use for theatre of the mind games alongside a video call platform
|
|
||||||
- To use alongside a platform such as Owlbear Rodeo
|
This codebase is currently geared for my own site, but can be easily adapted.
|
||||||
- For Play-by-Post games
|
|
||||||
- To manage in-person games
|
|
||||||
|
|
||||||
# Development environment
|
# Development environment
|
||||||
|
|
||||||
|
@ -14,5 +12,5 @@ still be able to use `devenv.nix` as documentation of what is required.
|
||||||
|
|
||||||
# Deployment
|
# Deployment
|
||||||
|
|
||||||
The plan is to use MRSK for deployment.
|
The plan is to use Kamal for deployment.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class ApplicationMailer < ActionMailer::Base
|
class ApplicationMailer < ActionMailer::Base
|
||||||
default from: "hello@summonplayer.com"
|
default from: "hello@tsvallender.co.uk"
|
||||||
layout "mailer"
|
layout "mailer"
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
Hi,
|
Hi,
|
||||||
|
|
||||||
Please visit the following link to confirm your email and access your new
|
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) %>
|
<%= confirm_email_url(email: @user.email, confirmation_string: @user.email_confirmation_string) %>
|
||||||
|
|
||||||
Thanks,
|
Thanks,
|
||||||
|
|
||||||
The Summon Player team.
|
The Soc team.
|
||||||
|
|
|
@ -7,7 +7,7 @@ require "rails/all"
|
||||||
# you've limited to :test, :development, or :production.
|
# you've limited to :test, :development, or :production.
|
||||||
Bundler.require(*Rails.groups)
|
Bundler.require(*Rails.groups)
|
||||||
|
|
||||||
module SummonPlayer
|
module Soc
|
||||||
class Application < Rails::Application
|
class Application < Rails::Application
|
||||||
config.load_defaults 7.0
|
config.load_defaults 7.0
|
||||||
|
|
||||||
|
|
|
@ -7,4 +7,4 @@ test:
|
||||||
production:
|
production:
|
||||||
adapter: redis
|
adapter: redis
|
||||||
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
|
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
|
||||||
channel_prefix: summon_player_production
|
channel_prefix: soc_production
|
||||||
|
|
|
@ -4,18 +4,18 @@ default: &default
|
||||||
# For details on connection pooling, see Rails configuration guide
|
# For details on connection pooling, see Rails configuration guide
|
||||||
# https://guides.rubyonrails.org/configuring.html#database-pooling
|
# https://guides.rubyonrails.org/configuring.html#database-pooling
|
||||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||||
username: summon_player
|
username: soc
|
||||||
|
|
||||||
development:
|
development:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: summon_player_development
|
database: soc_development
|
||||||
password: postgres
|
password: postgres
|
||||||
|
|
||||||
test:
|
test:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: summon_player_test
|
database: soc_test
|
||||||
|
|
||||||
production:
|
production:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: summon_player_production
|
database: soc_production
|
||||||
password: <%= ENV["SUMMON_PLAYER_DATABASE_PASSWORD"] %>
|
password: <%= ENV["SOC_DATABASE_PASSWORD"] %>
|
||||||
|
|
|
@ -60,7 +60,7 @@ Rails.application.configure do
|
||||||
|
|
||||||
# Use a real queuing backend for Active Job (and separate queues per environment).
|
# Use a real queuing backend for Active Job (and separate queues per environment).
|
||||||
# config.active_job.queue_adapter = :resque
|
# 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
|
config.action_mailer.perform_caching = false
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
en:
|
en:
|
||||||
site_title: Summon Player
|
site_title: T S Vallender
|
||||||
home: Home
|
home: Home
|
||||||
log_in: Log in
|
log_in: Log in
|
||||||
log_out: Log out
|
log_out: Log out
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
default_url_options :host => "summonplayer.com"
|
default_url_options :host => "tsvallender.co.uk"
|
||||||
|
|
||||||
root "home_pages#index"
|
root "home_pages#index"
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
listen_addresses = "127.0.0.1";
|
listen_addresses = "127.0.0.1";
|
||||||
initialScript = ''
|
initialScript = ''
|
||||||
CREATE ROLE summon_player WITH LOGIN PASSWORD 'postgres' SUPERUSER;
|
CREATE ROLE soc WITH LOGIN PASSWORD 'postgres' SUPERUSER;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue