Skip to content

Commit

Permalink
feat: 🎸 Procfile γ‚’ε°Žε…₯γ—γŸ (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikukyugamer authored Jul 4, 2023
1 parent b352461 commit bf0c197
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}
release: touch /tmp/this_is_a_prove_that_deploy_release_task_by_procfile
28 changes: 28 additions & 0 deletions config/initializers/constant_value.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module Vault
class ConstantValue
class << self
def class_name_to_csv_filepath_map
{
'ImportService::OnSheet::Star' => Rails.root.join(
Rails.root.join('db/csv_on_sheet/basic_attributes/stars.csv')
),
'ImportService::OnSheet::Title' => Rails.root.join(
Rails.root.join('db/csv_on_sheet/products/titles.csv')
),
'ImportService::OnSheet::Platform' => Rails.root.join(
Rails.root.join('db/csv_on_sheet/basic_attributes/platforms.csv')
),
'ImportService::OnSheet::GssSectionHqCharacter' => Rails.root.join(
Rails.root.join('db/csv_on_sheet/gss_hq_characters_section/web_format_data.csv')
),
'ImportService::OnSheet::GssSectionCity' => Rails.root.join(
Rails.root.join('db/csv_on_sheet/gss_cities_section/web_format_data.csv')
),
'ImportService::OnSheet::GssCharacter' => Rails.root.join(
Rails.root.join('db/csv_on_sheet/gss_character/web_format_data.csv')
)
}
end
end
end
end

0 comments on commit bf0c197

Please sign in to comment.