Sha256: 98ad84e50ea0d1850e0c6bb5e3df1b88bd94a94684521c2c4905a3a73592648c

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

class NetBox < Liza::NetBox

  panel :client do
    # Set up 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

  panel :database do
    # Set up 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.3 app/net_box.rb