{"id":3331,"date":"2022-08-30T00:11:11","date_gmt":"2022-08-29T15:11:11","guid":{"rendered":"https:\/\/k.foolslab.net\/dailyreport\/?p=3331"},"modified":"2022-08-30T01:27:16","modified_gmt":"2022-08-29T16:27:16","slug":"2022-8-29","status":"publish","type":"post","link":"https:\/\/k.foolslab.net\/dailyreport\/2022-8-29\/","title":{"rendered":"2022\/8\/29(\u6708)"},"content":{"rendered":"\n<p>\u3046\u304a\u30fc\u30b3\u30e1\u30f3\u30c8\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u3072\u3068\u6bb5\u843d\u3057\u305f\uff01\u7d30\u304b\u3044\u30a2\u30e9\u3068\u304b\u4ed8\u3051\u305f\u3044\u6a5f\u80fd\u3068\u304b\u306f\u8272\u3005\u3042\u308b\u3051\u3069\u3068\u306b\u304b\u304f\u5f62\u306b\u306a\u3063\u305f\uff01U-22\u3067\u306a\u3093\u304b\u306e\u8cde\u3092\u3082\u3089\u3048\u308b\u304b\u3069\u3046\u304b\u306f\u5206\u304b\u3089\u3093\u304c\u3001Rust\u00d7Vue\u306b\u3088\u308bWeb\u958b\u767a\u306e\u306a\u304b\u306a\u304b\u3044\u3044\u7d4c\u9a13\u306b\u306a\u3063\u305f\u3002\u3044\u308d\u3044\u308d\u52c9\u5f37\u306b\u306a\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u4f55\u304b\u77e5\u3089\u3093\u3051\u3069diesel_embed_migration\u304c\u3069\u306e\u30d0\u30a4\u30ca\u30ea\u306b\u57cb\u3081\u8fbc\u3080\u304b\u306b\u3088\u3063\u3066\u6319\u52d5\u304c\u9055\u3046&#8230;<\/p>\n\n\n\n<p>\u30a2\u30d7\u30ea\u672c\u4f53\u3092\u63d0\u4f9b\u3059\u308bmain.rs\u3068CLI\u64cd\u4f5c\u30c4\u30fc\u30eb\u3092\u63d0\u4f9b\u3059\u308bbin\/cli.rs\u304c\u3042\u308b\u306e\u3060\u304c\u3001<code>embedded_migrations::run_with_output<\/code>\u3092\u3069\u3061\u3089\u3067\u3084\u308b\u304b\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u6319\u52d5\u3092\u8d77\u3053\u3059\u3002main.rs\u3067\u3084\u308b\u3068\u306a\u3093\u304b\u4e0a\u624b\u304f\u884c\u304f\u304cbin\/cli.rs\u3067\u3084\u308b\u3068MigrationDirectoryNotFound\u304c\u51fa\u308b\u3002diesel_embed\u30af\u30ec\u30fc\u30c8\u3092\u4f7f\u3063\u3066\u3044\u308c\u3070\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u95a2\u4fc2\u306e\u51e6\u7406\u306f\u5168\u3066\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306b\u57cb\u3081\u8fbc\u307e\u308c\u308b\u3082\u306e\u306e\u306f\u305a\u306a\u306e\u3060\u304c\u3002<\/p>\n\n\n\n<p>\u3068\u306b\u304b\u304f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306fmain.rs\u304b\u3089\u3084\u308b\u3068\u3044\u3046\u5834\u5f53\u305f\u308a\u7684\u306a\u5bfe\u51e6\u3067\u4e0a\u624b\u304f\u884c\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u304b\u3089\u3001<code>entry-point.sh<\/code>\u3068\u3044\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u30b3\u30f3\u30c6\u30ca\u30b9\u30bf\u30fc\u30c8\u6642\u306e\u51e6\u7406\u306e\u5168\u3066\u3092\u307e\u3068\u3081\u305f\u306e\u3060\u304c\u3001\u3069\u3046\u3082\u9806\u756a\u304c\u524d\u5f8c\u3057\u3066\u3044\u308b\u6c17\u304c\u3059\u308b\u3002\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u305d\u3093\u306a\u3053\u3068\u3042\u308b\uff1f\uff1f\uff1f\u3068\u308a\u3042\u3048\u305aecho\u30b3\u30de\u30f3\u30c9\u3067\u9032\u6357\u3092\u5831\u544a\u3055\u305b\u3066sleep\u3067\u3044\u3061\u3044\u3061\u30a6\u30a7\u30a4\u30c8\u3092\u631f\u3093\u3060\u3089\u5909\u306a\u611f\u3058\u306e\u52d5\u304d\u306f\u3057\u306a\u304f\u306a\u3063\u305f\u3002\u3055\u3059\u304c\u306b\u81ea\u5206\u306e\u52d8\u9055\u3044\u3060\u3068\u306f\u601d\u3046\u304c\u3001\u3053\u3093\u306a\u3053\u3068\u3067\u5909\u306a\u52d5\u304d\u304c\u306a\u304f\u306a\u308b\u306a\u3089\u305d\u308c\u306b\u8d8a\u3057\u305f\u3053\u3068\u306f\u306a\u3044\u3002<\/p>\n\n\n\n<p>cargo build\u306e\u7d50\u679c(target\u30d5\u30a9\u30eb\u30c0)\u3084node_modules\u3092docker build\u306e\u305f\u3073\u306b\u624b\u4f5c\u696d\u3067\u9664\u3044\u3066\u3044\u305f\u306e\u3060\u304c\u3001.dockerignore\u3068\u3044\u3046\u6587\u660e\u306e\u5229\u5668\u304c\u3042\u308b\u3053\u3068\u3092\u3060\u3044\u3076\u4f5c\u696d\u304c\u9032\u3093\u3067\u304b\u3089\u77e5\u3063\u305f\u3002\u3053\u308c\u306f\u3072\u3069\u3044\u3002<\/p>\n\n\n\n<p>\u30da\u30fc\u30b8\u306b\u57cb\u3081\u8fbc\u3080\u969b\u306e\u9ad8\u3055\u8abf\u7bc0\u6a5f\u69cb\u304c\u5b9f\u88c5\u3055\u308c\u306a\u3044\u307e\u307e\u653e\u7f6e\u3055\u308c\u3066\u3044\u305f\u306e\u306b\u6c17\u3065\u3044\u305f\u306e\u3067\u614c\u3066\u3066\u5b9f\u88c5\u3057\u305f\u30028\/1\u306e\u65e5\u5831\u306b\u3082\u3042\u308b\u306e\u3067\u3053\u306e\u6642\u306b\u52c9\u5f37\u3082\u5b9f\u9a13\u3082\u4e00\u5ea6\u3057\u305f\u306f\u305a\u306a\u306e\u3060\u304c\u3001\u5b9f\u88c5\u306f\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u3089\u3057\u3044\u3002<\/p>\n\n\n\n<p>\u63d0\u51fa\u76f4\u524d\u306b\u306a\u3063\u3066\u3061\u3087\u3063\u3068\u3057\u305f\u91cd\u8981\u306a\u30d0\u30b0\u306b\u6c17\u4ed8\u3044\u305f\u3002mailtrap\u304b\u3089mailhog\u306b\u5207\u308a\u66ff\u3048\u3066\u5b9f\u9a13\u3057\u305f\u3068\u3053\u308d\u3001base64\u304c\u4e0a\u624b\u304f\u89e3\u91c8\u3055\u308c\u306a\u3044\u3002\u3069\u3046\u3084\u3089lettre\u306f\u975eASCII\u6587\u5b57\u306ebase64\u30a8\u30f3\u30b3\u30fc\u30c9\u306f\u30c7\u30d5\u30a9\u3067\u3084\u3063\u3066\u304f\u308c\u308b\u3088\u3046\u3060\u304c\u3001content-type\u3068encoding\u30d8\u30c3\u30c0\u306f\u6307\u5b9a\u3057\u306a\u3044\u3068\u5165\u308c\u3066\u304f\u308c\u306a\u3044\u3089\u3057\u3044\u3002\u5371\u306a\u3044\u5371\u306a\u3044\u3002<\/p>\n\n\n\n<p>\u3053\u307e\u3054\u307e\u3068\u3057\u305f\u90e8\u5206\u3092\u6574\u3048\u3001README\u3068LICENSE\u3092\u5165\u308c\u3001\u3068\u308a\u3042\u3048\u305a\u300c\u3061\u3083\u3093\u3068\u3057\u305fOSS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3059\u300d\u307f\u305f\u3044\u306a\u98a8\u60c5\u3092\u51fa\u3057\u305f\u3002\u30d3\u30eb\u30c9\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u306fDockerhub\u306b\u3082\u516c\u958b\u3057\u3001\u8ab0\u3067\u3082\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002\u3053\u306e\u518d\u5229\u7528\u6027\u304cOSS\u306e\u9762\u767d\u3055\u3088\u3002github\u3068\u9023\u643a\u3057\u3066Dockerhub\u306b\u81ea\u52d5\u30c7\u30d7\u30ed\u30a4\u307f\u305f\u3044\u306a\u3053\u3068\u3082\u51fa\u6765\u308b\u3089\u3057\u3044\u304c\u3001\u305d\u3053\u307e\u3067\u624b\u3092\u56de\u3059\u4f59\u88d5\u306f\u306a\u3044\u3002<\/p>\n\n\n\n<p>\u6b21\u306fVR\u958b\u767a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u65b9\u306b\u79fb\u308b\u3002\u3053\u3063\u3061\u306f\u9593\u306b\u5408\u3046\u304b\u306a\uff5e\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u533a\u5207\u308a\u3092\u4ed8\u3051\u3088\u3046\u3068\u8e8d\u8d77\u306b\u306a\u3063\u3066\u751f\u6d3b\u30ea\u30ba\u30e0\u304c\u5d29\u308c\u3066\u3057\u307e\u3063\u305f\u3002\u307e\u3042\u8a31\u5bb9\u7bc4\u56f2\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3088\u304f\u306a\u30fc\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3046\u304a\u30fc\u30b3\u30e1\u30f3\u30c8\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u3072\u3068\u6bb5\u843d\u3057\u305f\uff01\u7d30\u304b\u3044\u30a2\u30e9\u3068\u304b\u4ed8\u3051\u305f\u3044\u6a5f\u80fd\u3068\u304b\u306f\u8272\u3005\u3042\u308b\u3051\u3069\u3068\u306b\u304b\u304f\u5f62\u306b\u306a\u3063\u305f\uff01U-22\u3067\u306a\u3093\u304b\u306e\u8cde\u3092\u3082\u3089\u3048\u308b\u304b\u3069\u3046\u304b\u306f\u5206\u304b\u3089\u3093\u304c\u3001Rust\u00d7Vue\u306b\u3088\u308bWeb\u958b\u767a\u306e\u306a\u304b\u306a\u304b\u3044\u3044\u7d4c\u9a13\u306b\u306a\u3063\u305f\u3002\u3044\u308d &hellip; <\/p>\n<div><a href=\"https:\/\/k.foolslab.net\/dailyreport\/2022-8-29\/\" class=\"more\">Read more &raquo;<span class=\"screen-reader-text\"> &#8220;2022\/8\/29(\u6708)&#8221;<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3331","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/3331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/comments?post=3331"}],"version-history":[{"count":4,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/3331\/revisions"}],"predecessor-version":[{"id":3336,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/3331\/revisions\/3336"}],"wp:attachment":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/media?parent=3331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/categories?post=3331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/tags?post=3331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}