parent
adc8fbc42b
commit
72ffe7215d
23 changed files with 405 additions and 242 deletions
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env ruby
|
||||
require "fileutils"
|
||||
|
||||
# path to your application root.
|
||||
APP_ROOT = File.expand_path("..", __dir__)
|
||||
APP_NAME = "family_budget"
|
||||
|
||||
def system!(*args)
|
||||
system(*args, exception: true)
|
||||
|
@ -30,4 +30,8 @@ FileUtils.chdir APP_ROOT do
|
|||
|
||||
puts "\n== Restarting application server =="
|
||||
system! "bin/rails restart"
|
||||
|
||||
# puts "\n== Configuring puma-dev =="
|
||||
# system "ln -nfs #{APP_ROOT} ~/.puma-dev/#{APP_NAME}"
|
||||
# system "curl -Is https://#{APP_NAME}.test/up | head -n 1"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue