Jun Makita
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Hamamatsu.rb #152 ## 自己紹介 - いつものメンバー ## 前回ふりかえり - http://firekpt.jacoyutorius.com/board/?id=-NeDMxCZAIGfdeuyXO9i&title=Hamamatsu.rb%20%23151%20%282023%2F09%2F13%29 ## 今回のネタ - Kamal — Deploy web apps anywhere - https://kamal-deploy.org/ - Kamal README: 37signalsの多機能コンテナデプロイツール(翻訳)|TechRacho by BPS株式会社 - https://techracho.bpsinc.jp/hachi8833/2023_08_25/127981 - Ruby on Railsの作者がコンテナ・デプロイ・ツール「Kamal 1.0」を公開|CodeZine(コードジン) - https://codezine.jp/article/detail/18431 - DHH氏によるコンテナデプロイ自動化ツール「Kamal 1.0」正式リリース。ベアメタルや仮想マシンに自動デプロイ、ゼロダウンタイムのアプリ更新も可能 - Publickey - https://www.publickey1.jp/blog/23/dhhkamal_10.html - https://kamal-deploy.org/ - DHHの推すコンテナデプロイ自動化ツールkamalを試してみる - https://zenn.dev/koxya/scraps/bc3128c5535cfc - Ruby on Rails demo - YouTube - https://www.youtube.com/watch?v=Gzj723LkRJY - > 399,638 回視聴 2005/11/08 - > David Heinemeier Hansson, the creator of the Ruby on Rails web development framework demonstrates how to create a blog engine in 15 minutes. ## 雑談ネタ - Ruby 3.3’s YJIT Runs Shopify’s Production Code 15% Faster | Rails at Scale - https://railsatscale.com/2023-09-18-ruby-3-3-s-yjit-runs-shopify-s-production-code-15-faster/ - Terraformのフォークが「OpenTofu」としてLinux Foundation傘下で正式ローンチ。OpenTFから改名 - https://www.publickey1.jp/blog/23/terraformopentofulinux_foundationopentf.html - 「パワレポ」休刊へ、自作PC専門誌の老舗 33年の歴史に幕 - ITmedia NEWS - https://www.itmedia.co.jp/news/articles/2309/29/news190.html - 日経Linux休刊 25年の歴史に幕 - ITmedia NEWS - https://www.itmedia.co.jp/news/articles/2310/06/news145.html - https://twitter.com/yukihiro_matz/status/1710238584169812165 - Yukihiro Matz on X ずっと連載してきただけに残念です。でも、あきらめないよ - https://twitter.com/yukihiro_matz/status/1710440265809576141 - Yukihiro Matz on X 雑誌が売れないからですね。みんなwebで調べちゃう。「まつもと先生の連載記事が読めるのは日経linuxだけ」というのは魅力でなかったということですねー - Rails 7.1正式リリース。本番デプロイ用のDockerfile自動生成、遅いクエリの非同期化など新機能 - Publickey - https://www.publickey1.jp/blog/23/rails_71dockerfile.html - https://railsguides.jp/v7.1/7_1_release_notes.html - 次のRailsアプリは7.1になりそう - rails newなんて何回してもいいですから - spajam 2023 予選に参加してきました - 優秀賞でした。本選に出れる確率は結構低そう。予選はオンライン - https://gamebiz.jp/news/375697 - バックエンドrailsのチームがなかった(悲) - 提供されたAITalkのサンプルコードがRuby(Windows用)だった - バグがあった(泣) - ほかのチーム(ほとんど学生か若い社会人)は結構レベル高かった - PLATEAUのやつは10人くらいでした - その他、Slackの話題 - 僕がDoorkeeperを売却した理由について - https://www.tokyodev.com/articles/why-i-sold-doorkeeper-ja ## 次回以降のネタ - スクレイピングしてみたいサイト - 浜松市感染症発生動向調査 - https://www.city.hamamatsu.shizuoka.jp/hokanken/idwr/houkoku.html - gem i pdf-reader - https://qiita.com/rtoya/items/efac1872ffbcfa7cd905 - Docker - https://hub.docker.com/_/ruby - Ruby - Qiita - https://qiita.com/tags/ruby ## LT ## KPT http://firekpt.jacoyutorius.com/board/?id=-NgTbLjuCQZWkut0Pc1V&title=Hamamatsu.rb%20%23152 ## KEEP - 参加した ★1 - 新技術(カマル)にトライ ★2 - Kamal楽しかった ★1 - Linuxサーバー順調 - docker execを知った(思い出した ## PROBLEM - SSDが足りない - Dockerいざというときに使い方わからん ★1 - 3人しかいねえ - LinuxサーバーにGUIではいれん ## TRY - なんかおもしろいねた - PC環境の更新 - Rails7.1もついでにnewしたので色々試したい - dockerのコマンド覚える ★2 - 次回、11/8(水)Hamamatsu.rb #153 19:30 - 21:00 ★2 - Rubyのコード書く - OrbStackも気になる ## 告知 - 11/8(水)Hamamatsu.rb #153 19:30 - 21:00 - 日本Androidの会浜松支部 第147回ミーティング - 予定だとオフライン - https://jaghama.connpass.com/event/298828/ - 10/14(土)~15(日) Maker Faire Tokyo 2023 - https://makezine.jp/event/mft2023/ - 10/15(日) 大江戸Ruby会議10 - https://asakusarb.github.io/oedo10/ - https://twitter.com/a_matsuda/status/1711747338707009579 - > 懇親会は、しつこいようですが、日本最古の遊園地"浅草花やしき"をRubyistたちで借り切って遊び倒します。ご家族、お子さま連れももちろん大歓迎。 - 10/21(土) Shizuoka.js#7 - https://connpass.com/event/295831/ - 10/27(金) JAWS-UG浜松 AWS勉強会 202310   - https://jawsug-hamamatsu.doorkeeper.jp/events/164745 - 12/2(土)Hamamatsu Micro Maker Faire 2023 - https://makezine.jp/blog/2023/09/hmmf2023_and_kmmf2024_announce.html - 人数制限なし!!!!!!(たぶん) - 12/16(土) 浜松ITコミュニティ忘年会2023 - https://hamamatsu-it.connpass.com/event/298965/ - 1/27(土) NGK2024S 昼の部 LT大会 - https://ngk2022s.connpass.com/event/294313/ - 1/27(土) NGK2024S 夜の部 懇親会 - https://ngk2022s.connpass.com/event/294318/ --- Kamalやってみたけどbundle installでエラーになった ```ruby ➜rails new kamaltest ➜kamal init #ここでいろいろ編集 ➜kamal setup #最終的にこのエラーになった 11.34 `bundle lock --add-platform aarch64-linux` and try again. ------ Dockerfile:26 -------------------- 25 | COPY Gemfile Gemfile.lock ./ 26 | >>> RUN bundle install && \ 27 | >>> rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \ 28 | >>> bundle exec bootsnap precompile --gemfile 29 | -------------------- ERROR: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c bundle install && rm -rf ~/.bundle/ \"${BUNDLE_PATH}\"/ruby/*/cache \"${BUNDLE_PATH}\"/ruby/*/bundler/gems/*/.git && bundle exec bootsnap precompile --gemfile" did not complete successfully: exit code: 16 ``` deploy:yamlはこんな ```yaml ssh: user: yowasou service: hey image: 37s/hey servers: - 192.168.11.100 registry: username: yowasou password: - KAMAL_REGISTRY_PASSWORD env: secret: - RAILS_MASTER_KEY ``` --- Kamalやってみたけどエラーになった。 ```sh ➜ rails new blog -c tailwind ➜ rails g scaffold post title:string content:text ➜ rails db:create db:migrate ➜ blog git:(main) kamal init Created configuration file in config/deploy.yml Created .env file Created sample hooks in .kamal/hooks ➜ blog git:(main) ✗ kamal setup INFO [cb7b3781] Running /usr/bin/env mkdir -p .kamal on 127.0.0.1 Finished all in 0.0 seconds ERROR (Errno::ECONNREFUSED): Exception while executing on host 127.0.0.1: Connection refused - connect(2) for 127.0.0.1:22 ```

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully