dev work
This commit is contained in:
parent
250b062a5e
commit
22eecd2de6
@ -10,6 +10,8 @@ Rails.application.configure do
|
|||||||
# since you don't have to restart the web server when you make code changes.
|
# since you don't have to restart the web server when you make code changes.
|
||||||
config.cache_classes = false
|
config.cache_classes = false
|
||||||
|
|
||||||
|
config.hosts << 'wobbldev.tarrien.net'
|
||||||
|
|
||||||
# Do not eager load code on boot.
|
# Do not eager load code on boot.
|
||||||
config.eager_load = false
|
config.eager_load = false
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ threads min_threads_count, max_threads_count
|
|||||||
if ENV['SOCKET']
|
if ENV['SOCKET']
|
||||||
bind "unix://#{ENV['SOCKET']}"
|
bind "unix://#{ENV['SOCKET']}"
|
||||||
else
|
else
|
||||||
bind "tcp://#{ENV.fetch('BIND', '127.0.0.1')}:#{ENV.fetch('PORT', 3000)}"
|
bind "tcp://#{ENV.fetch('BIND', '0.0.0.0')}:#{ENV.fetch('PORT', 3000)}"
|
||||||
end
|
end
|
||||||
|
|
||||||
environment ENV.fetch('RAILS_ENV') { 'development' }
|
environment ENV.fetch('RAILS_ENV') { 'development' }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user