Initial project structure with some barebones layout, CSS and JS from game-data

This commit is contained in:
2025-08-29 02:44:43 -04:00
parent 4168afe585
commit aab5acafb4
33 changed files with 564 additions and 1 deletions

3
config/defaults.yaml Normal file
View File

@@ -0,0 +1,3 @@
server:
host: '0.0.0.0'
port: '9300'

11
config/puma.rb Normal file
View File

@@ -0,0 +1,11 @@
app_dir = File.expand_path('..', __dir__)
directory app_dir
environment ENV.fetch('RACK_ENV', 'development')
require_relative '../src/config'
conf = Config.new()
bind "tcp://#{conf.get('server.host')}:#{conf.get('server.port')}"
workers 2
threads 1, 5