Migrated app to modular Sinatra application; copied in a lot of improvements for a Sinatra app that I learned from Stage Manager

This commit is contained in:
gballan committed 2023-03-14 20:49:42 -04:00
1 parent 2340dddd06
commit 385dd98dbe
28 files changed
+384 -275

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
server:
address: '127.0.0.1'
port: 6200
database:
adapter: 'sqlite'
database: 'data/raven.db'
+6
View File
@@ -0,0 +1,6 @@
# Load application config
require './app/config.rb'
$conf = Config.new(File.join(__dir__, 'config/raven.yaml'))
bind_address = "tcp://#{$conf.get('server.address')}:#{$conf.get('server.port')}"
bind bind_address