2023-12-08 17:28:45 +01:00
|
|
|
# frozen_string_literal: true
|
2023-12-24 20:15:46 +01:00
|
|
|
|
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"
|
2023-12-11 12:38:46 +01:00
|
|
|
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
|