Commit a35c628d authored by charlie-ablett's avatar charlie-ablett
Browse files

Deployment setup for new box

parent db3ecc2d
......@@ -11,7 +11,7 @@ require "action_mailer/railtie"
# require "action_cable/engine"
# require "sprockets/railtie"
# require "rails/test_unit/railtie"
require 'dotenv' ; Dotenv.load ".env.local", ".env.#{Rails.env}"
require 'dotenv-rails' ; Dotenv.load ".env.local", ".env.#{Rails.env}"
require_relative '../app/middleware/catch_json_parse_errors'
......
......@@ -7,7 +7,7 @@ lock '3.4.1'
set :application, 'ink-api'
set :repo_url, 'git@gitlab.coko.foundation:INK/ink-api.git'
set :linked_files, fetch(:linked_files, []).push('config/database.yml', 'config/secrets.yml', '.env', 'StepGemfile', 'config/ink_api.yml')
set :linked_files, fetch(:linked_files, []).push('config/database.yml', 'config/secrets.yml', '.env.production', 'StepGemfile', 'config/ink_api.yml')
set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system', 'public/uploads')
set :bundle_binstubs, nil
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment