Move github source to private server

This commit is contained in:
Zin Bo Thit
2026-01-29 12:00:13 +06:30
parent 417600b23e
commit 87cc77e0fb
27 changed files with 916 additions and 381 deletions

View File

@@ -1,25 +1,22 @@
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
adapter: sqlite3
adapter: postgresql
encoding: unicode
# For details on connection pooling, see Rails configuration guide
# http://guides.rubyonrails.org/configuring.html#database-pooling
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000
development:
<<: *default
database: db/development.sqlite3
database: todo_development
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<<: *default
database: db/test.sqlite3
database: todo_test
production:
<<: *default
database: db/production.sqlite3
database: <%= ENV['DB_NAME'] || 'todo_production' %>
username: <%= ENV['DB_USER'] %>
password: <%= ENV['DB_PASSWORD'] %>
host: <%= ENV['DB_HOST'] %>
# When using Cloud SQL with Cloud Run, the host is often /cloudsql/CONNECTION_NAME

View File

@@ -11,6 +11,7 @@ Rails.application.routes.draw do
member do
patch :assign
end
resources :comments, only: [:create]
end
root 'tasks#index'