{"id":138,"date":"2020-12-03T14:22:26","date_gmt":"2020-12-03T05:22:26","guid":{"rendered":"http:\/\/kpc2020.satoshis.jp\/?p=138"},"modified":"2020-12-17T16:19:53","modified_gmt":"2020-12-17T07:19:53","slug":"%e6%8f%90%e5%87%ba%e7%94%a8%e8%aa%b2%e9%a1%8c-rine","status":"publish","type":"post","link":"https:\/\/kpc2020.satoshis.jp\/?p=138","title":{"rendered":"\u63d0\u51fa\u7528\u8ab2\u984c RINE"},"content":{"rendered":"<p>SpringBoot\u3092\u4f7f\u3063\u305fWeb\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d: RINE<br \/>\nSpring Boot Version: 2.2.1<\/p>\n<p>hsqldb.bat<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ncd data\r\njava -classpath ..\/lib\/hsqldb.jar org.hsqldb.server.Server ^\r\n--database.0 db\/shindan --dbname.0 shindan ^\r\n--database.1 db\/bookshelf --dbname.1 bookshelf ^\r\n--database.2 db\/rine --dbname.2 rine\r\n<\/pre>\n<p>application.properties<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nspring.datasource.url=jdbc:hsqldb:hsql:\/\/localhost\/rine\r\nspring.datasource.username=SA\r\nspring.datasource.password=\r\nspring.datasource.driver-class-name=org.hsqldb.jdbc.JDBCDriver\r\nspring.jpa.hibernate.ddl-auto=update\r\n<\/pre>\n<p>\u4f5c\u6210\u3059\u308b\u30da\u30fc\u30b8\u3068URL<\/p>\n<table>\n<tr>\n<th>\u30da\u30fc\u30b8\u540d<\/th>\n<th>URL<\/th>\n<th>\u5185\u5bb9<\/th>\n<tr>\n<th>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8<\/th>\n<td>http:\/\/localhost:8080\/<\/td>\n<td>\u3068\u3082\u3060\u3061\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3057\u3001\u3068\u3082\u3060\u3061\u8ffd\u52a0\u304c\u3067\u304d\u308b<\/td>\n<\/tr>\n<th>\u3068\u3082\u3060\u3061<\/th>\n<td>http:\/\/localhost:8080\/friend\/<\/td>\n<td>\u9078\u629e\u3057\u305f\u3068\u3082\u3060\u3061\u306b\u9001\u4fe1\u3057\u305f\u6295\u7a3f\u306e\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b\u3002\u65b0\u898f\u306b\u6295\u7a3f\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u3068\u3082\u3060\u3061\u7de8\u96c6\u30da\u30fc\u30b8<\/th>\n<td> http:\/\/localhost:8080\/friend\/edit\/{id}<\/td>\n<td>\u3068\u3082\u3060\u3061\u306e\u540d\u524d\u3068\u753b\u50cf\u3092\u5909\u66f4\u3067\u304d\u308b<\/td>\n<\/tr>\n<th>\u3068\u3082\u3060\u3061\u30d6\u30ed\u30c3\u30af\u30da\u30fc\u30b8<\/th>\n<td> http:\/\/localhost:8080\/friend\/block\/{id}<\/td>\n<td>\u3068\u3082\u3060\u3061\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b<\/td>\n<\/tr>\n<\/table>\n<p>\u4f5c\u6210\u3059\u308b\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3<\/p>\n<table>\n<tr>\n<td>Friend<\/td>\n<\/tr>\n<tr>\n<td>\n\u30fbid : long<br \/>\n\u30fbname : String<br \/>\n\u30fbimage : String<br \/>\n\u30fbblocked : boolean<br \/>\n\u30fbposts : List<Post>\n<\/td>\n<\/tr>\n<\/table>\n<table>\n<tr>\n<td>Post<\/td>\n<\/tr>\n<tr>\n<td>\n\u30fbid : Long<br \/>\n\u30fbtime : java.util.Date<br \/>\n\u30fbcontent : String<br \/>\n\u30fbfriend : Friend\n<\/td>\n<\/tr>\n<\/table>\n<h2>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8<\/h2>\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8: index.html<\/p>\n<ul>\n<li>\u30b5\u30a4\u30c8\u30bf\u30a4\u30c8\u30eb<\/li>\n<li>\u5b66\u7c4d\u756a\u53f7\u3068\u540d\u524d<\/li>\n<li>\u3068\u3082\u3060\u3061\u30ea\u30b9\u30c8<\/li>\n<li>\u3068\u3082\u3060\u3061\u8ffd\u52a0\u30d5\u30a9\u30fc\u30e0<\/li>\n<\/ul>\n<h2>\u3068\u3082\u3060\u3061\u3054\u3068\u306e\u30da\u30fc\u30b8<\/h2>\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8: talk.html<\/p>\n<ul>\n<li>\u3068\u3082\u3060\u3061\u306e\u540d\u524d<\/li>\n<li>\u3068\u3082\u3060\u3061\u306e\u30a2\u30a4\u30b3\u30f3<\/li>\n<li>\u4fee\u6b63\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af<\/li>\n<li>\u30d6\u30ed\u30c3\u30afor\u30d6\u30ed\u30c3\u30af\u89e3\u9664\u306e\u30ea\u30f3\u30af<\/li>\n<li>\u9001\u4fe1\u3057\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u30ea\u30b9\u30c8<\/li>\n<li>\u30e1\u30c3\u30bb\u30fc\u30b8\u9001\u4fe1\u30d5\u30a9\u30fc\u30e0<\/li>\n<\/ul>\n<h2>\u3068\u3082\u3060\u3061\u4fee\u6b63\u30da\u30fc\u30b8<\/h2>\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8: editfriend.html<\/p>\n<ul>\n<li>\u30a2\u30a4\u30b3\u30f3\u8868\u793a<\/li>\n<li>\u4fee\u6b63\u30d5\u30a9\u30fc\u30e0\u3067\u540d\u524d\u3068\u753b\u50cfURL<\/li>\n<\/ul>\n<h2>\u3068\u3082\u3060\u3061\u30d6\u30ed\u30c3\u30af\u30da\u30fc\u30b8<\/h2>\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8: blockfriend.html<\/p>\n<ul>\n<li>\u30a2\u30a4\u30b3\u30f3\u8868\u793a<\/li>\n<li>\u30d6\u30ed\u30c3\u30af or \u30d6\u30ed\u30c3\u30af\u89e3\u9664 \u30dc\u30bf\u30f3<\/li>\n<\/ul>\n<h1>\u914d\u70b9<\/h1>\n<ol>\n<li>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u6307\u5b9a\u306e\u5185\u5bb9\u3092\u8868\u793a: 10\u70b9<\/li>\n<li>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3092CSS\u3067\u30c7\u30b6\u30a4\u30f3\u5909\u66f4: 10\u70b9<\/li>\n<li>\u3068\u3082\u3060\u3061\u8ffd\u52a0\u3067\u304d\u308b: 10\u70b9<\/li>\n<li>\u3068\u3082\u3060\u3061\u8ffd\u52a0\u3067\u753b\u50cfURL\u3092\u5165\u529b\u3059\u308b\u3068\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b: 10\u70b9<\/li>\n<li>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u304b\u3089\u3068\u3082\u3060\u3061\u30da\u30fc\u30b8\u306b\u884c\u3051\u308b: 10\u70b9<\/li>\n<li>\u3068\u3082\u3060\u3061\u30da\u30fc\u30b8\u306b\u6307\u5b9a\u306e\u5185\u5bb9\u3092\u8868\u793a: 10\u70b9<\/li>\n<li>\u3068\u3082\u3060\u3061\u30da\u30fc\u30b8\u304b\u3089\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3067\u304d\u308b: 10\u70b9<\/li>\n<li>\u3068\u3082\u3060\u3061\u30da\u30fc\u30b8\u3092CSS\u3067\u30c7\u30b6\u30a4\u30f3\u5909\u66f4: 10\u70b9<\/li>\n<li>\u3068\u3082\u3060\u3061\u4fee\u6b63\u30da\u30fc\u30b8\u3092\u8868\u793a\u3067\u304d\u308b: 10\u70b9<\/li>\n<li>\u3068\u3082\u3060\u3061\u4fee\u6b63\u3067\u540d\u524d\u3068\u753b\u50cf\u3092\u4fee\u6b63\u3067\u304d\u308b: 10\u70b9<\/li>\n<li>\u3068\u3082\u3060\u3061\u4fee\u6b63\u3067\u753b\u50cfURL\u3092\u5165\u529b\u3059\u308b\u3068\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b: 10\u70b9<\/li>\n<li>\u3068\u3082\u3060\u3061\u4fee\u6b63\u30da\u30fc\u30b8\u3092CSS\u3067\u30c7\u30b6\u30a4\u30f3\u5909\u66f4: 10\u70b9<\/li>\n<li>\u3068\u3082\u3060\u3061\u30da\u30fc\u30b8\u304b\u3089\u30d6\u30ed\u30c3\u30af\u30da\u30fc\u30b8\u306b\u884c\u3051\u308b: 10\u70b9<\/li>\n<li>\u3068\u3082\u3060\u3061\u3092\u30d6\u30ed\u30c3\u30af\/\u30d6\u30ed\u30c3\u30af\u89e3\u9664\u3067\u304d\u308b: 10\u70b9<\/li>\n<li>\u3068\u3082\u3060\u3061\u30d6\u30ed\u30c3\u30af\u30da\u30fc\u30b8\u3092CSS\u3067\u30c7\u30b6\u30a4\u30f3\u5909\u66f4: 10\u70b9<\/li>\n<\/ol>\n<h2>Bookshelf\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u53c2\u8003\u306b\u3059\u308b<\/h2>\n<p>Bookshelf\u306b\u8907\u6570\u306eBook\u3092\u53ce\u7d0d\u3067\u304d\u308b\u3002<br \/>\n\u3000\u3000\u2193\uff08\u307b\u307c\u540c\u3058\u5185\u5bb9\uff09<br \/>\nFriend\u306b\u8907\u6570\u306ePost\u3092\u9001\u4fe1\u3067\u304d\u308b\u3002<\/p>\n<p>Bookshelf\u3092Friend\u306b\u7f6e\u304d\u304b\u3048\u3001Book\u3092Post\u306b\u7f6e\u304d\u304b\u3048\u308c\u3070\u3088\u3044\u3002<\/p>\n<p>\u9055\u3046\u70b9\u306f\u3001Bookshelf\u3067\u306fBook\u306bimage\u304c\u3042\u3063\u305f\u304c\u3001RINE\u3067\u306fFriend\u306bimage\u304c\u3042\u308b\u3002<\/p>\n<h2>\u8ab2\u984c\u306e\u63d0\u51fa\u65b9\u6cd5<\/h2>\n<p>pom.xml \u3067\u4ee5\u4e0b\u306e\u5834\u6240\u3092\u4fee\u6b63\u3059\u308b\u3002\uff0811\u30928\u306b\u3059\u308b\uff09<\/p>\n<pre class=\"brush: plain; first-line: 17; highlight: [18]; title: ; notranslate\" title=\"\">\r\n\t&lt;properties&gt;\r\n\t\t&lt;java.version&gt;8&lt;\/java.version&gt;\r\n\t&lt;\/properties&gt;\r\n<\/pre>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 RINE \u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001[\u5b9f\u884c]-[maven install]\u3092\u9078\u629e\u3059\u308b\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/kpc2020.satoshis.jp\/wp-content\/uploads\/2020\/12\/jar.png\" alt=\"\" width=\"290\" height=\"435\" class=\"alignnone size-full wp-image-153\" \/><\/p>\n<p>RINE-0.0.1-SNAPSHOT.jar \u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u308b\u3002<\/p>\n<h4>\u52d5\u4f5c\u78ba\u8a8d<\/h4>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8d77\u52d5\u3059\u308b\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001Spring Boot\u304c\u8d77\u52d5\u3059\u308b\u3002<br \/>\nhttp:\/\/localhost:8080\/<br \/>\n\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nZ:\\&gt;cd Z:\\Java\\202010\\RINE\\target  \u2190\u81ea\u5206\u306ePC\u306e\u74b0\u5883\u306b\u5408\u308f\u305b\u308b\r\nZ:\\Java\\202010\\RINE\\target&gt;java -jar RINE-0.0.1-SNAPSHOT.jar\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/kpc2020.satoshis.jp\/wp-content\/uploads\/2020\/12\/cmd.png\" alt=\"\" width=\"979\" height=\"512\" class=\"alignnone size-full wp-image-154\" \/><\/p>\n<h4>\u63d0\u51fa\u5148<\/h4>\n<p>\u300c\u63d0\u51fa\\\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u5b9f\u7fd2\\1917XXX\u300d\uff08\u2190XXX\u306f\u5b66\u7c4d\u756a\u53f7\u306b\u5408\u308f\u305b\u308b\uff09\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u3001\u305d\u3053\u306b RINE-0.0.1-SNAPSHOT.jar\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3002<\/p>\n<p>\u63d0\u51fa\u671f\u9650\uff1a12\u670823\u65e5\uff08\u6c34\uff09<\/p>\n<!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>SpringBoot\u3092\u4f7f\u3063\u305fWeb\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d: RINE Spring Boot Version: 2.2.1 hsqldb.bat cd data java -classpath ..\/lib\/ &hellip; <a href=\"https:\/\/kpc2020.satoshis.jp\/?p=138\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u63d0\u51fa\u7528\u8ab2\u984c RINE<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5],"tags":[],"class_list":["post-138","post","type-post","status-publish","format-standard","hentry","category-java","category-springboot"],"views":165,"_links":{"self":[{"href":"https:\/\/kpc2020.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kpc2020.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kpc2020.satoshis.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kpc2020.satoshis.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kpc2020.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=138"}],"version-history":[{"count":14,"href":"https:\/\/kpc2020.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":157,"href":"https:\/\/kpc2020.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/138\/revisions\/157"}],"wp:attachment":[{"href":"https:\/\/kpc2020.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kpc2020.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kpc2020.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}