Sha256: ad84b877a2d40302ccd2f57d5134f5ebcf0312bccc49e33265861343ad139368
Contents?: true
Size: 1.02 KB
Versions: 9
Compression:
Stored size: 1.02 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 run J1App.site end
Version data entries
9 entries across 9 versions & 1 rubygems