fix staging, commands, demonizable puma (4.x)
This commit is contained in:
parent
35732e7ce6
commit
8cd2edb521
1
.gitignore
vendored
1
.gitignore
vendored
@ -30,6 +30,7 @@
|
||||
|
||||
# Ignore master key for decrypting credentials and more.
|
||||
/config/master.key
|
||||
nohup.out
|
||||
|
||||
/app/assets/builds/*
|
||||
!/app/assets/builds/.keep
|
||||
|
2
Gemfile
2
Gemfile
@ -36,7 +36,7 @@ group :development, :test do
|
||||
gem "mina"
|
||||
gem 'guard-minitest'
|
||||
gem 'guard' # NOTE: this is necessary in newer versions
|
||||
gem "puma", "~> 5.0"
|
||||
gem "puma" , "~> 4.0"
|
||||
end
|
||||
|
||||
group :development do
|
||||
|
@ -271,7 +271,7 @@ GEM
|
||||
coderay (~> 1.1)
|
||||
method_source (~> 1.0)
|
||||
public_suffix (5.0.1)
|
||||
puma (5.6.5)
|
||||
puma (4.3.12)
|
||||
nio4r (~> 2.0)
|
||||
pundit (2.3.0)
|
||||
activesupport (>= 3.0.0)
|
||||
@ -428,7 +428,7 @@ DEPENDENCIES
|
||||
mina
|
||||
passenger
|
||||
pg (~> 1.1)
|
||||
puma (~> 5.0)
|
||||
puma (~> 4.0)
|
||||
rails (~> 7.0)
|
||||
ruby2js!
|
||||
sassc-rails
|
||||
|
3
bin/kill
Executable file
3
bin/kill
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
kill -9 `cat tmp/pids/server.pid`
|
3
bin/staging
Executable file
3
bin/staging
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
exec ./bin/rails s -b 0.0.0.0 -p 3000 -d
|
@ -23,6 +23,8 @@ module HubfeenixFi
|
||||
# Initialize configuration defaults for originally generated Rails version.
|
||||
config.load_defaults 7.0
|
||||
|
||||
config.hosts << "green-machine.local" #our "staging"
|
||||
|
||||
# Configuration for the application, engines, and railties goes here.
|
||||
#
|
||||
# These settings can be overridden in specific environments using the files
|
||||
|
Loading…
Reference in New Issue
Block a user