I think you have looked at the tutorial from Mr. Heinemeier Hansson at least once or twice and have a similar setup.
application
- ruby 3.2.2
- rails 7.1.3.2
- postgresql 15
server
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Linq; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace TestCtrlEvent |
| { | |
| "AWSTemplateFormatVersion" : "2010-09-09", | |
| "Description" : "Mail server for receiving", | |
| "Parameters" : { | |
| "MailServerDomain" : { | |
| "Type" : "String", | |
| "Default" : "mail.example.com", | |
| "Description" : "mail server domain" | |
| }, |
Why Should I Care (For Developers)
"Dockerが面白いのはシンプルな環境に隔離性と再現性をもたらしてくれることだ.ランタイムの環境を一度作れば、パッケージにして別のマシンでも再利用することできる.さらに,すべてはホスト内の隔離された環境で行われる(VMのように).最も素晴らしい点は,シンプルかつ高速であることだ."
| bcx david$ rake stats | |
| +----------------------+-------+-------+---------+---------+-----+-------+ | |
| | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | | |
| +----------------------+-------+-------+---------+---------+-----+-------+ | |
| | Controllers | 3704 | 2942 | 72 | 479 | 6 | 4 | | |
| | Helpers | 1901 | 1529 | 13 | 261 | 20 | 3 | | |
| | Models | 5310 | 4116 | 50 | 653 | 13 | 4 | | |
| | Libraries | 2167 | 1593 | 51 | 200 | 3 | 5 | | |
| | Integration tests | 297 | 217 | 6 | 1 | 0 | 215 | | |
| | Functional tests | 3897 | 3065 | 61 | 11 | 0 | 276 | |
| # config/routes.rb | |
| resources :documents do | |
| scope module: 'documents' do | |
| resources :versions do | |
| post :restore, on: :member | |
| end | |
| resource :lock | |
| end | |
| end |