dolphins7.skeleton/twenty-backend/lib/twenty-backend.rb

17 lines
394 B
Ruby
Raw Normal View History

2023-12-08 17:28:45 +01:00
# frozen_string_literal: true
2023-12-08 17:28:45 +01:00
module Twenty
2024-01-07 09:51:08 +01:00
##
# @return [String]
# Returns the path to the directory where twenty stores data.
def self.home
File.join(Dir.home, ".local", "share", "twenty")
end
2023-12-08 17:28:45 +01:00
require "webrick"
2023-12-20 01:44:03 +01:00
require "active_record"
require_relative "twenty-backend/servlet"
2023-12-20 01:44:03 +01:00
require_relative "twenty-backend/migration"
require_relative "twenty-backend/model"
2023-12-08 17:28:45 +01:00
end