Copyright | (c) digitally induced GmbH 2020 |
---|---|
Safe Haskell | None |
Synopsis
- runScript :: ConfigBuilder -> Script -> IO ()
- type Script = (?modelContext :: ModelContext, ?context :: FrameworkConfig) => IO ()
- module IHP.FrameworkConfig
Documentation
runScript :: ConfigBuilder -> Script -> IO () Source #
Initializes IHP and then runs the script inside the framework context
type Script = (?modelContext :: ModelContext, ?context :: FrameworkConfig) => IO () Source #
A script is just an IO action which requires a database connection and framework config
module IHP.FrameworkConfig