+5
Gemfile
+5
Gemfile
+20
Gemfile.lock
+20
Gemfile.lock
···
27
tzinfo (~> 2.0, >= 2.0.5)
28
base58 (0.2.3)
29
base64 (0.3.0)
30
benchmark (0.4.1)
31
bigdecimal (3.2.2)
32
concurrent-ruby (1.3.5)
33
connection_pool (2.5.3)
34
date (3.4.1)
35
drb (2.2.3)
36
erb (5.0.2)
37
i18n (1.14.7)
38
concurrent-ruby (~> 1.0)
39
io-console (0.8.1)
···
49
minitest (5.25.5)
50
mustermann (3.0.4)
51
ruby2_keywords (~> 0.0.1)
52
nio4r (2.7.4)
53
pg (1.6.1)
54
pg (1.6.1-aarch64-linux)
···
112
DEPENDENCIES
113
activerecord (~> 7.2)
114
base58
115
didkit (~> 0.2)!
116
irb
117
jwt
118
minisky (~> 0.5)
···
27
tzinfo (~> 2.0, >= 2.0.5)
28
base58 (0.2.3)
29
base64 (0.3.0)
30
+
bcrypt_pbkdf (1.1.1)
31
benchmark (0.4.1)
32
bigdecimal (3.2.2)
33
+
capistrano (2.15.11)
34
+
highline
35
+
net-scp (>= 1.0.0)
36
+
net-sftp (>= 2.0.0)
37
+
net-ssh (>= 2.0.14)
38
+
net-ssh-gateway (>= 1.1.0)
39
concurrent-ruby (1.3.5)
40
connection_pool (2.5.3)
41
date (3.4.1)
42
drb (2.2.3)
43
+
ed25519 (1.4.0)
44
erb (5.0.2)
45
+
highline (3.1.2)
46
+
reline
47
i18n (1.14.7)
48
concurrent-ruby (~> 1.0)
49
io-console (0.8.1)
···
59
minitest (5.25.5)
60
mustermann (3.0.4)
61
ruby2_keywords (~> 0.0.1)
62
+
net-scp (4.1.0)
63
+
net-ssh (>= 2.6.5, < 8.0.0)
64
+
net-sftp (4.0.0)
65
+
net-ssh (>= 5.0.0, < 8.0.0)
66
+
net-ssh (7.3.0)
67
+
net-ssh-gateway (2.0.0)
68
+
net-ssh (>= 4.0.0)
69
nio4r (2.7.4)
70
pg (1.6.1)
71
pg (1.6.1-aarch64-linux)
···
129
DEPENDENCIES
130
activerecord (~> 7.2)
131
base58
132
+
bcrypt_pbkdf (>= 1.0, < 2.0)
133
+
capistrano (~> 2.0)
134
didkit (~> 0.2)!
135
+
ed25519 (>= 1.2, < 2.0)
136
irb
137
jwt
138
minisky (~> 0.5)
+36
config/deploy.rb
+36
config/deploy.rb
···
···
1
+
# TODO: migrate to capistrano3 bundler integration
2
+
require 'bundler/capistrano'
3
+
4
+
set :bundle_dir, ''
5
+
set :bundle_flags, '--quiet'
6
+
set :bundle_without, []
7
+
8
+
set :application, "lycan"
9
+
set :repository, "https://tangled.sh/@mackuba.eu/lycan"
10
+
set :scm, :git
11
+
set :keep_releases, 10
12
+
set :use_sudo, false
13
+
set :deploy_to, "/var/www/lycan"
14
+
set :deploy_via, :remote_cache
15
+
set :migrate_env, "RACK_ENV=production"
16
+
set :public_children, []
17
+
set :shared_children, ['log', 'tmp/pids']
18
+
19
+
server "lycan.feeds.blue", :app, :web, :db, :primary => true
20
+
21
+
before 'bundle:install', 'deploy:set_bundler_options'
22
+
23
+
after 'deploy', 'deploy:cleanup'
24
+
after 'deploy:migrations', 'deploy:cleanup'
25
+
26
+
namespace :deploy do
27
+
task :restart, :roles => :web do
28
+
run "touch #{current_path}/tmp/restart.txt"
29
+
end
30
+
31
+
task :set_bundler_options do
32
+
run "cd #{release_path} && bundle config set --local deployment 'true'"
33
+
run "cd #{release_path} && bundle config set --local path '#{shared_path}/bundle'"
34
+
run "cd #{release_path} && bundle config set --local without 'development test'"
35
+
end
36
+
end