Added rake task to start server in a more production-ready manner using Puma; move config values to config directory

This commit is contained in:
2023-03-09 23:22:18 -05:00
parent 39ce636c0a
commit 0927a00960
7 changed files with 22 additions and 8 deletions

View File

@ -2,7 +2,7 @@ require 'yaml'
class Config
DEFAULT_CONFIG = 'data/defaults.yaml'
DEFAULT_CONFIG = 'config/defaults.yaml'
def initialize(config_path)
@data = YAML::load_file(DEFAULT_CONFIG)