@@ -4,9 +4,6 @@ |
||
| 4 | 4 |
|
| 5 | 5 |
ENV['SKIP_RAILS_ADMIN_INITIALIZER'] = 'true' |
| 6 | 6 |
|
| 7 |
-require 'dotenv' |
|
| 8 |
-Dotenv.load |
|
| 9 |
- |
|
| 10 | 7 |
require File.expand_path('../config/application', __FILE__)
|
| 11 | 8 |
|
| 12 | 9 |
Huginn::Application.load_tasks |
@@ -1,3 +1,7 @@ |
||
| 1 |
+# This is an example Capistrano deployment script for Huginn. It |
|
| 2 |
+# assumes you're running on an Ubuntu box and want to use Foreman, |
|
| 3 |
+# Upstart, and Unicorn. |
|
| 4 |
+ |
|
| 1 | 5 |
default_run_options[:pty] = true |
| 2 | 6 |
|
| 3 | 7 |
set :application, "huginn" |
@@ -31,6 +35,9 @@ namespace :deploy do |
||
| 31 | 35 |
task :symlink_configs, :roles => :app do |
| 32 | 36 |
run <<-CMD |
| 33 | 37 |
cd #{latest_release} && ln -nfs #{shared_path}/config/.env #{latest_release}/.env
|
| 38 |
+ CMD |
|
| 39 |
+ |
|
| 40 |
+ run <<-CMD |
|
| 34 | 41 |
cd #{latest_release} && ln -nfs #{shared_path}/config/Procfile #{latest_release}/Procfile
|
| 35 | 42 |
CMD |
| 36 | 43 |
end |