~singpolyma/whiplash-mboa

e2928463ec8139cd66cb93bd02061d0b87e50eca — Stephen Paul Weber 1 year, 5 months ago ace07ae
Move release/migrations into boot

release_command isn't an option with sqlite
2 files changed, 1 insertions(+), 4 deletions(-)

M fly.toml
M lib/tasks/fly.rake
M fly.toml => fly.toml +0 -3
@@ 10,9 10,6 @@ processes = []
    BUILD_COMMAND = "bin/rails fly:build"
    SERVER_COMMAND = "bin/rails fly:server"

[deploy]
  release_command = "bin/rails fly:release"

[env]
  PORT = "8080"


M lib/tasks/fly.rake => lib/tasks/fly.rake +1 -1
@@ 17,7 17,7 @@ namespace :fly do
  #  - full access to secrets, databases
  #  - failures here result in VM being stated, shutdown, and rolled back
  #    to last successful deploy (if any).
  task :server => :swapfile do
  task :server => [:swapfile, :release] do
    sh 'bin/rails server'
  end