<commit_before>Bundler.require_env
require File.expand_path(File.join(File.dirname(__FILE__), 'lib', 'request_lumberjack'))

DataMapper.setup(:default, "sqlite3://#{Dir.pwd}/request_lumberjack.sqlite")
#DataMapper.auto_migrate!
use Rack::Static, :urls => ["/css", "/img", "/js"], :root => "public"

run RequestLumberjack.app

# vim:ft=ruby<commit_msg>using DataMapper.auto_upgrade! for non-destructive migrations and setting the environment<commit_after>Bundler.require_env
require File.expand_path(File.join(File.dirname(__FILE__), 'lib', 'request_lumberjack'))

DataMapper.setup(:default, "sqlite3://#{Dir.pwd}/request_lumberjack.sqlite")
DataMapper.auto_upgrade!

RequestLumberjack::App.set :environment, ENV["RACK_ENV"] || :production

run RequestLumberjack.app

# vim:ft=ruby
{'fraction_non_alphanumeric': 0.1576923076923077, 'fraction_numerical': 0.002564102564102564, 'mean_word_length': 8.409638554216867, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3537419', 'n_tokens_mistral': 273, 'n_tokens_neox': 272, 'n_words': 41}