diff --git a/build.sh b/build.sh deleted file mode 100755 index d36c186..0000000 --- a/build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#! /bin/sh - -mkdir modules - -cd modules - -git clone https://mytonton.com.br/git/TonTon/tonton-gollum.git \ No newline at end of file diff --git a/config.ru b/config.ru deleted file mode 100644 index ecd347c..0000000 --- a/config.ru +++ /dev/null @@ -1,22 +0,0 @@ -require_relative 'tonton_web' -require_relative 'modules/tonton-gollum/app' - -use Rack::Session::Cookie, key: 'rack.session', secret: ENV.fetch('SESSION_SECRET') - -wiki_options = { - universal_toc: false, - math: :mathjax, - css: true, - template_dir: 'modules/tonton-gollum/templates' -} - -Precious::App.set(:gollum_path, 'modules/tonton-gollum/wiki') -Precious::App.set(:default_markup, :markdown) -Precious::App.set(:wiki_options, wiki_options) - -app = Rack::URLMap.new( - '/' => TonTonWeb.new, - '/wiki' => TonTonWeb::Wiki.new('wiki') -) - -run app \ No newline at end of file