mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
bug fixes
This commit is contained in:
parent
d5164ad56b
commit
3184510932
2 changed files with 7 additions and 3 deletions
3
Rakefile
3
Rakefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue