X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f37ea2fae3bd7330d42ca257baf175dd811b2ac6..4a8ef3e26c7bd37cb47332f04bf0b50665c71fc3:/bin/setup diff --git a/bin/setup b/bin/setup index b5accee8a..ff6a47532 100755 --- a/bin/setup +++ b/bin/setup @@ -1,8 +1,8 @@ #!/usr/bin/env ruby require "fileutils" -# path to your application root. APP_ROOT = File.expand_path("..", __dir__) +APP_NAME = "openstreetmap".freeze 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