Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
init on db3
  • Loading branch information
nna774 committed Sep 16, 2018
1 parent d444be3 commit 890438f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/webapp/ruby/lib/torb/web.rb
Expand Up @@ -171,7 +171,13 @@ def render_report_csv(reports)
end

get '/initialize' do
system "../../db/init.sh"
system "curl http://172.18.25.3/initialize_db3"

status 204
end

get '/initialize_db3' do
system "/home/isucon/torb/db/init.sh"

status 204
end
Expand Down

0 comments on commit 890438f

Please sign in to comment.