Sha256: d8f61bf2c8e8448b96eed716ca53298921217e41baa648dc83c8e93315c257fd
Contents?: true
Size: 1.01 KB
Versions: 5
Compression:
Stored size: 1.01 KB
Contents
# Transforms J1 into a Web Application based on Rack and # Sinatra using the OmniAuth software stack managed by Warden # for authentication to create secured static J1 based web # sites. # require 'dotenv' require 'j1_app' # Load initial data|environment # ------------------------------------------------------------------------------ # noinspection RubyArgCount Dotenv.load # If an app is detected as *dockerized* (J1DOCKER=true), *no* development # mode is available. # if ENV['J1DOCKER'] # Run the app in production mode # ------------------------------------------------------------------------------ run J1App.site end if ENV['J1_RACK_ENV'] == 'production' # Run the app in production mode # ------------------------------------------------------------------------------ run J1App.site end if ENV['J1_RACK_ENV'] == 'development' # Run the app in production mode # ------------------------------------------------------------------------------ run J1AppTest.site end
Version data entries
5 entries across 5 versions & 1 rubygems