mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-21 11:18:08 +00:00
- Create DemoUser migration for standalone development - Add DemoUser model with polymorphic games association - Add configuration system (standalone vs mounted) - Use ENV variables for configuration - current_player method supports both modes (ApplicationController) - Can run without Hacktivity for development
10 lines
365 B
Ruby
10 lines
365 B
Ruby
# BreakEscape Engine Configuration
|
|
BreakEscape.configure do |config|
|
|
# Set to true for standalone mode (development)
|
|
# Set to false when mounted in Hacktivity (production)
|
|
config.standalone_mode = ENV['BREAK_ESCAPE_STANDALONE'] == 'true'
|
|
|
|
# Demo user handle for standalone mode
|
|
config.demo_user_handle = ENV['BREAK_ESCAPE_DEMO_USER'] || 'demo_player'
|
|
end
|