Sha256: e30a1b983b38c67b22e15354090d70e97488ee63031f2454c30cac2493b86fed

Contents?: true

Size: 543 Bytes

Versions: 1

Compression:

Stored size: 543 Bytes

Contents

class NetBox < Liza::NetBox

  configure :client do
    # Configure your client panel per the DSL in http://guides.lizarb.org/panels/client.html

    set :redis_url, "redis://localhost:6379/15"
    set :sqlite_path, "tmp/app.#{Time.now.to_i}.sqlite" if App.mode == :code
    set :sqlite_path, "app.#{App.mode}.sqlite"

  end

  configure :database do
    # Configure your database panel per the DSL in http://guides.lizarb.org/panels/database.html

    define :redis, RedisDb
    define :sql, SqliteDb
    define :sqlite, SqliteDb

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lizarb-1.0.4 app/net_box.rb