File: basic.ru

package info (click to toggle)
ruby-flipper 0.26.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,288 kB
  • sloc: ruby: 16,377; sh: 61; javascript: 24; makefile: 14
file content (19 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Usage:
#   # if you want it to not reload and be really fast
#   bin/rackup examples/api/basic.ru -p 9999
#
#   # if you want reloading
#   bin/shotgun examples/api/basic.ru -p 9999
#
#   http://localhost:9999/
#

require 'bundler/setup'
require "flipper/api"
require "flipper/adapters/pstore"

# You can uncomment this to get some default data:
# Flipper.enable :logging

run Flipper::Api.app