Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cantino committed Apr 7, 2013
1 parent d5164ad commit 3184510
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions doc/deployment/capistrano/deploy.rb
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -31,6 +35,9 @@
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
Expand Down

0 comments on commit 3184510

Please sign in to comment.