diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 899ab5688c..65d3292903 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,9 +59,6 @@ jobs: - name: Install JS dependencies run: yarn install --frozen-lockfile - - name: Set up application.yml - run: cp config/application.yml.example config/application.yml - - name: Set up database run: | bundle exec rake db:create @@ -109,9 +106,6 @@ jobs: - name: Install JS dependencies run: yarn install --frozen-lockfile - - name: Set up application.yml - run: cp config/application.yml.example config/application.yml - - name: Set up database run: | bundle exec rake db:create diff --git a/config/application.yml.example b/config/application.yml.example deleted file mode 100644 index 1346dae4c2..0000000000 --- a/config/application.yml.example +++ /dev/null @@ -1,68 +0,0 @@ -# Add application configuration variables here, as shown below. -# -# Change this, it has serious security implications. -# Minimum 30 but usually 128 characters. To obtain run 'rake secret', or faster, 'openssl rand -hex 128' -SECRET_TOKEN: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - -# Time zone must match the operating system time zone in order to pass all tests. -# This string is the key for the MAPPING hash constant in ActiveSupport::TimeZone. -# Documentation including the hash: https://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html -TIMEZONE: Melbourne -# Default country for dropdowns etc. See for codes: http://en.wikipedia.org/wiki/ISO_3166-1 -DEFAULT_COUNTRY_CODE: AU -# Locale for translation. -LOCALE: en -# For multilingual - ENV doesn't have array so pass it as string with commas -AVAILABLE_LOCALES: en,es -# Spree zone. -CHECKOUT_ZONE: Australia -# Find currency codes at http://en.wikipedia.org/wiki/ISO_4217. -CURRENCY: AUD - -# The whenever gem can set the `MAILTO` variable for our cron jobs. -# You can define an email address to notify if any job outputs something. -# But you need a working mail server setup so that the message is delivered. -# See: config/schedule.rb -#SCHEDULE_NOTIFICATIONS: admin@example.com - -# Mail settings -MAIL_HOST: 'example.com' -MAIL_DOMAIN: 'example.com' -MAIL_PORT: '25' -SMTP_USERNAME: 'ofn' -SMTP_PASSWORD: 'f00d' - -# Optional mail settings -# MAIL_SECURE_CONNECTION: 'TLS' # 'None' (default), 'SSL' or 'TLS' -# MAILS_FROM: hello@example.com -# MAIL_BCC: manager@example.com - -# Javascript error reporting via Bugsnag. -#BUGSNAG_JS_KEY: "" - -# SingleSignOn login for Discourse -# -# DISCOURSE_SSO_SECRET should be a random string. It must be the same as provided to your Discourse instance. -#DISCOURSE_SSO_SECRET: "" -# -# DISCOURSE_URL must be the URL of your Discourse instance. -#DISCOURSE_URL: "https://noticeboard.openfoodnetwork.org.au" - -# see: https://developers.google.com/maps/documentation/javascript/get-api-key -# GOOGLE_MAPS_API_KEY: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - -# Stripe Connect details for instance account -# Find these under 'API keys' and 'Connect' in your Stripe account dashboard -> Account Settings -# Under 'Connect', the Redirect URI should be set to https://YOUR_SERVER_URL/stripe/callbacks (e.g. https://openfoodnetwork.org.uk/stripe/callbacks) -# Under 'Webhooks', you should set up a Connect endpoint pointing to https://YOUR_SERVER_URL/stripe/webhooks e.g. (https://openfoodnetwork.org.uk/stripe/webhooks) -# STRIPE_INSTANCE_SECRET_KEY: "sk_test_xxxxxx" # This can be a test key or a live key -# STRIPE_INSTANCE_PUBLISHABLE_KEY: "pk_test_xxxx" # This can be a test key or a live key -# STRIPE_CLIENT_ID: "ca_xxxx" # This can be a development ID or a production ID -# STRIPE_ENDPOINT_SECRET: "whsec_xxxx" - -# Feature toggles -# -# Adding user emails separated by commas will enable them the use of certain features. See -# config/initializers/feature_toggles.rb for details. -# -# BETA_TESTERS: ofn@example.com,superadmin@example.com diff --git a/docker-compose.yml b/docker-compose.yml index bd7e2dc386..13049721f2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,6 @@ services: - .:/usr/src/app - gems:/bundles - ./config/database.yml:/usr/src/app/config/database.yml - - ./config/application.yml.example:/usr/src/app/config/application.yml depends_on: - db - redis @@ -59,7 +58,6 @@ services: - .:/usr/src/app - gems:/bundles - ./config/database.yml:/usr/src/app/config/database.yml - - ./config/application.yml.example:/usr/src/app/config/application.yml depends_on: - db - redis