mirror of
https://github.com/danbee/micropub.git
synced 2025-03-04 08:59:13 +00:00
14 lines
217 B
Ruby
14 lines
217 B
Ruby
ENV['RACK_ENV'] ||= 'development'
|
|
|
|
require 'dotenv'
|
|
Dotenv.load
|
|
|
|
require 'bundler'
|
|
|
|
Bundler.setup
|
|
Bundler.require(:default, ENV['RACK_ENV'])
|
|
|
|
require File.expand_path('lib/micropub', __dir__)
|
|
|
|
run Micropub::Webserver
|