Sha256: a794f0b5cd9cc301f9e4ccc21dbfad726ad645c6bb8e7b923e7c2ad971343f66

Contents?: true

Size: 676 Bytes

Versions: 1

Compression:

Stored size: 676 Bytes

Contents

#!/usr/bin/env ruby

require 'inversion'
require 'strelka'

# The Strelka setup web application.
class Strelka::SetupProcess < Strelka::App

	# NOTE:
	# This is currently just a sketch for an idea of how Strelka could support stateful
	# 'process' applications ala Tir's coroutine-based "natural" handlers. It's not
	# implemented yet, so this will error:
	plugins :process

	layout 'setup/layout.tmpl'

	views :step1 => 'setup/step1',
	      :step2 => 'setup/step2'


	### Progress through the setup process.
	def main( req )
		params = show( :step1 )
		params = show( :step2, params )

	end

end # class Strelka::AdminConsole


Strelka::SetupProcess.run( 'strelka-setup' )

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
strelka-admin-0.0.1.pre7 data/strelka-admin/apps/strelka-setup