bug fixes

This commit is contained in:
Andrew Cantino 2013-04-07 14:53:54 -07:00
parent d5164ad56b
commit 3184510932
2 changed files with 7 additions and 3 deletions

View file

@ -4,9 +4,6 @@
ENV['SKIP_RAILS_ADMIN_INITIALIZER'] = 'true'
require 'dotenv'
Dotenv.load
require File.expand_path('../config/application', __FILE__)
Huginn::Application.load_tasks

View file

@ -1,3 +1,7 @@
# This is an example Capistrano deployment script for Huginn. It
# assumes you're running on an Ubuntu box and want to use Foreman,
# Upstart, and Unicorn.
default_run_options[:pty] = true
set :application, "huginn"
@ -31,6 +35,9 @@ namespace :deploy do
task :symlink_configs, :roles => :app do
run <<-CMD
cd #{latest_release} && ln -nfs #{shared_path}/config/.env #{latest_release}/.env
CMD
run <<-CMD
cd #{latest_release} && ln -nfs #{shared_path}/config/Procfile #{latest_release}/Procfile
CMD
end