Start running Rails from the main branch (#16)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

Reviewed-on: #16
This commit is contained in:
Andrew Tomaka 2024-06-21 23:35:36 -04:00
parent adc8fbc42b
commit 72ffe7215d
23 changed files with 405 additions and 242 deletions

View file

@ -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