diff --git a/app/assets/stylesheets/common/minimal.css.scss b/app/assets/stylesheets/common/minimal.css.scss
index 1f4ee9bc..70c912bb 100644
--- a/app/assets/stylesheets/common/minimal.css.scss
+++ b/app/assets/stylesheets/common/minimal.css.scss
@@ -1,3 +1,4 @@
+/* License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later */
.minimalHeader {
background-color: whitesmoke;
height: 90px;
diff --git a/app/controllers/static_controller.rb b/app/controllers/static_controller.rb
index 5d2dd7ff..0d4a28c2 100644
--- a/app/controllers/static_controller.rb
+++ b/app/controllers/static_controller.rb
@@ -1,3 +1,4 @@
+# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class StaticController < ApplicationController
layout 'layouts/static'
diff --git a/app/views/static/terms_and_privacy.html.erb b/app/views/static/terms_and_privacy.html.erb
index 3265b177..b64f117b 100644
--- a/app/views/static/terms_and_privacy.html.erb
+++ b/app/views/static/terms_and_privacy.html.erb
@@ -1,3 +1,4 @@
+<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
Terms and Privacy
<% if Settings.terms_and_privacy&.terms_url %>
diff --git a/config/commitchange.yml b/config/commitchange.yml
new file mode 100644
index 00000000..295b5ec7
--- /dev/null
+++ b/config/commitchange.yml
@@ -0,0 +1,72 @@
+# License: CC0-1.0
+general:
+ name: Houdini Project
+ logo: "logos/houdini_project_bug.svg"
+ logo_full: "logos/houdini_project_full.svg"
+
+default:
+ image:
+ profile: "/images/fallback/default-profile.png"
+ nonprofit: "/images/fallback/default-nonprofit.png"
+ campaign: "/fallback/default-campaign-background.jpg"
+
+
+cache_store: dalli_store
+
+aws:
+ access_key_id: <%= ENV['AWS_ACCESS_KEY'] %>
+ secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
+ region: us-west-1
+ bucket: commitchange
+
+mailer:
+ delivery_method: "sendmail"
+ address: "localhost"
+ port: 25
+ host: "http://localhost"
+ default_from: "CommitChange Team "
+ email: "support@commitchange.com"
+
+cdn:
+ url: "http://localhost"
+ port: 5000
+
+payment_provider:
+ stripe_connect: true
+ stripe_public_key: <%= ENV['STRIPE_API_PUBLIC'] %>
+ stripe_private_key: <%= ENV['STRIPE_API_KEY'] %>
+ stripe_proprietary_v2_js: true
+
+default_bp:
+ id: 40
+ percentage_fee: 0.020
+
+devise:
+ mailer_sender: 'fake@fake.fake'
+
+page_editor:
+ editor: 'froala'
+ editor_options:
+ froala_key: <%= ENV['FROALA_KEY'] %>
+
+language: 'en'
+available_locales: ['en']
+
+intntl:
+ currencies: ["usd"]
+ all_currencies:
+ - unit: "dollars"
+ subunit: "cents"
+ symbol: "$"
+ abbv: "usd"
+ format: "%u%n"
+
+source_tokens:
+ max_uses: 1
+ expiration_time: 1200
+ event_donation_source:
+ time_after_event: 1728000
+ max_uses: 20
+
+nonprofits_must_be_vetted: false
+
diff --git a/config/environment.rb b/config/environment.rb
index 4c10d070..ab220457 100755
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -28,6 +28,8 @@ Config.schema do
required(:general).schema do
# the name of your website. Default in Settings is "Houdini Project"
required(:name).filled(:str?)
+
+
end
required(:default).schema do
@@ -232,7 +234,15 @@ Config.schema do
# complete, corresponding source
optional(:ccs).schema do
optional(:ccs_method).value(included_in?: %w(local_tar_gz github))
- optional(:options)
+
+ # only used for github
+ # NOTE: for github you need to have the hash of the corresponding source in $RAILS_ROOT/CCS_HASH
+ optional(:options).schema do
+ # the account of the repository to find the code
+ required(:account).filled(:str?)
+ # the name of the repo to find the code
+ required(:repo).filled(:str?)
+ end
end
end
diff --git a/spec/controllers/static_controller_spec.rb b/spec/controllers/static_controller_spec.rb
index b4b9107a..a22347a1 100644
--- a/spec/controllers/static_controller_spec.rb
+++ b/spec/controllers/static_controller_spec.rb
@@ -1,3 +1,4 @@
+# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
require 'rails_helper'
RSpec.describe StaticController, :type => :controller do