{"id":1529,"date":"2017-10-29T17:15:49","date_gmt":"2017-10-29T08:15:49","guid":{"rendered":"https:\/\/www.beeete2.com\/blog\/?p=1529"},"modified":"2017-11-01T22:49:10","modified_gmt":"2017-11-01T13:49:10","slug":"mixhost%e3%81%abphp-deployer%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%87%e3%83%97%e3%83%ad%e3%82%a4%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.beeete2.com\/blog\/?p=1529","title":{"rendered":"mixhost\u306bPHP Deployer\u3092\u4f7f\u3063\u3066\u30c7\u30d7\u30ed\u30a4\u3059\u308b"},"content":{"rendered":"<p>\u4eca\u5e74\u306e\u590f\u306b\u3001\u3053\u306e\u30d6\u30ed\u30b0\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u74b0\u5883\u3092<code>mixhost<\/code>\u306b\u5207\u308a\u66ff\u3048\u307e\u3057\u305f\u3002<br \/>\nmixhost\u306f<code>Composer<\/code>\u3082\u4f7f\u3048\u308b\u306e\u3067<code>Deployer<\/code>\u3067\u30c7\u30d7\u30ed\u30a4\u306b\u6311\u6226\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h2>Git\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>Deployer\u3067\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b\u306e\u3067mixhost\u3067git\u304c\u5b9f\u884c\u3067\u304d\u308b\u3053\u3068\u304c\u5fc5\u9808\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u6b8b\u5ff5\u306a\u304c\u3089mixhost\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067git\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u4f7f\u3046\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u306a\u306e\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n\u3053\u3061\u3089\u306e<a href=\"https:\/\/prfac.com\/mixhost-git-install\/\" rel=\"noopener\" target=\"_blank\">\u30da\u30fc\u30b8<\/a>\u3092\u53c2\u8003\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002<br \/>\n\u81ea\u5206\u306e\u5834\u5408\u5951\u7d04\u30d7\u30e9\u30f3\u304c\u4f4e\u3044\u306e\u3067\u6642\u9593\u306f\u304b\u304b\u308a\u307e\u3059\u304c\u7279\u306b\u554f\u984c\u306a\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff06\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<h2>Deployer\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u4eca\u56de\u306f\u81ea\u5206\u306e\u30de\u30b7\u30f3\u304b\u3089Deployer\u3092\u5b9f\u884c\u3057\u307e\u3059\u306e\u3067\u30de\u30b7\u30f3\u306b<code>Deployer<\/code>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n\u516c\u5f0f\u30b5\u30a4\u30c8\u306b\u66f8\u3044\u3066\u3042\u308b\u901a\u308a\u3067\u3059\u3002<br \/>\n<a href=\"https:\/\/deployer.org\/\" rel=\"noopener\" target=\"_blank\">Deployer<\/a><\/p>\n<p>[code lang=bash]<br \/>\ncurl -LO https:\/\/deployer.org\/deployer.phar<br \/>\nmv deployer.phar \/usr\/local\/bin\/dep<br \/>\nchmod +x \/usr\/local\/bin\/dep<br \/>\n[\/code]<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089<code>dep<\/code>\u30b3\u30de\u30f3\u30c9\u304c\u5b9f\u884c\u3067\u304d\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>[code lang=bash]<br \/>\n[vagrant@localhost deploy]$ dep &#8211;version<br \/>\nDeployer 6.0.3<br \/>\n[\/code]<\/p>\n<h2>Bitbucket\u306e\u8a2d\u5b9a<\/h2>\n<p>mixhost\u3067git\u304b\u3089\u30ea\u30e2\u30fc\u30c8\u30ec\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b\u3068\u304d\u306bssh\u3092\u4f7f\u3063\u3066\u30af\u30ed\u30fc\u30f3\u3057\u307e\u3059\u3002<br \/>\n\u306a\u306e\u3067mixhost\u3067Bitbucket\u7528\u306b\u79d8\u5bc6\u9375\uff0f\u516c\u958b\u9375\u3092\u4f5c\u308a\u307e\u3059\u3002<br \/>\n<code>ssh-keygen<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u79d8\u5bc6\u9375\uff0f\u516c\u958b\u9375\u3092\u4f5c\u308a\u307e\u3059\u304c\u9014\u4e2d\u3067\u805e\u304b\u308c\u308b\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306f\u672a\u5165\u529b\u3068\u3057\u307e\u3059\u3002<br \/>\nmixhost\u3067\u4f5c\u696d\u3057\u307e\u3059\u3002<\/p>\n<p>[code lang=bash]<br \/>\ncd ~\/.ssh<br \/>\nssh-keygen -t rsa -f bitbucket_rsa<br \/>\n[\/code]<\/p>\n<p>\u6b21\u306bbitbucket.org\u3078\u306e\u63a5\u7d9a\u306e\u5834\u5408\u306f\u4e0a\u8a18\u3067\u4f5c\u6210\u3057\u305f\u79d8\u5bc6\u9375\u3092\u4f7f\u3046\u3088\u3046\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u8a18\u3057\u307e\u3059\u3002<br \/>\n\u3082\u3057\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u65b0\u898f\u306b\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>[code lang=bash]<br \/>\nvi ~\/.ssh\/config<br \/>\n[\/code]<\/p>\n<p>\u4ee5\u4e0b\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n<p>[code lang=text]<br \/>\nHost bitbucket.org<br \/>\n     HostName bitbucket.org<br \/>\n     IdentityFile ~\/.ssh\/bitbucket_rsa<br \/>\n     User Bitbucket\u306e\u30e6\u30fc\u30b6\u30fc\u540d<br \/>\n[\/code]<\/p>\n<p>\u4f5c\u6210\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u305b\u305a\u65b0\u3057\u304f\u8a2d\u5b9a\u3057\u305f\u5834\u5408\u306f\u5c5e\u6027\u3092\u5909\u66f4\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>[code lang=bash]<br \/>\nchmod 600  ~\/.ssh\/config<br \/>\n[\/code]<\/p>\n<p>\u6b21\u306b\u4f5c\u6210\u3057\u305f\u516c\u958b\u9375\u3092Bitbucket\u306b\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<p>[code lang=bash]<br \/>\ncat ~\/.ssh\/bitbucket_rsa.pub<br \/>\n[\/code]<\/p>\n<p>Bitbucket\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u81ea\u5206\u306eProfile\u753b\u9762\u304b\u3089\u767b\u9332\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2017\/10\/bitbucket-sshkey.png\"><img decoding=\"async\" src=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2017\/10\/bitbucket-sshkey.png\" alt=\"\" width=\"491\" height=\"844\" class=\"alignnone size-full wp-image-1532\" srcset=\"https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2017\/10\/bitbucket-sshkey.png 491w, https:\/\/www.beeete2.com\/blog\/wp-content\/uploads\/2017\/10\/bitbucket-sshkey-175x300.png 175w\" sizes=\"(max-width: 491px) 100vw, 491px\" \/><\/a><\/p>\n<h2>Deployer\u306e\u8a2d\u5b9a<\/h2>\n<p>Deployer\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u304c\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u5fae\u5999\u306b\u66f8\u304d\u65b9\u304c\u5909\u308f\u308b\u307f\u305f\u3044\u306a\u306e\u3067\u4eca\u56de\u306f<code>6.0.3<\/code>\u3067\u52d5\u4f5c\u3059\u308b\u8a2d\u5b9a\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u307e\u305a\u306f<code>deploy.php<\/code>\u3067\u3059\u3002<br \/>\n[php]<br \/>\n&lt;?php<br \/>\nnamespace Deployer;<\/p>\n<p>require &#8216;recipe\/laravel.php&#8217;;<\/p>\n<p>inventory(&#8216;servers.yml&#8217;);<\/p>\n<p>set(&#8216;bin\/git&#8217;, &#8216;\/home\/mixhost\u306e\u30e6\u30fc\u30b6\u30fc\u540d\/opt\/bin\/git&#8217;);<\/p>\n<p>\/\/ Project name<br \/>\nset(&#8216;application&#8217;, &#8216;\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d&#8217;);<\/p>\n<p>\/\/ Project repository<br \/>\nset(&#8216;repository&#8217;, &#8216;\u30ec\u30dd\u30b8\u30c8\u30ea&#8217;);<\/p>\n<p>\/\/ [Optional] Allocate tty for git clone. Default value is false.<br \/>\nset(&#8216;git_tty&#8217;, true); <\/p>\n<p>\/\/ Shared files\/dirs between deploys<br \/>\nset(&#8216;shared_files&#8217;, [&#8216;.env&#8217;]);<br \/>\nset(&#8216;shared_dirs&#8217;, [<br \/>\n    &#8216;storage&#8217;,<br \/>\n]);<\/p>\n<p>set(&#8216;http_user&#8217;, &#8216;mixhost\u306e\u30e6\u30fc\u30b6\u30fc\u540d&#8217;);<br \/>\nset(&#8216;http_group&#8217;, &#8216;mixhost\u306e\u30e6\u30fc\u30b6\u30fc\u540d&#8217;);<br \/>\nset(&#8216;writable_mode&#8217;, &#8216;chgrp&#8217;);<br \/>\nset(&#8216;writable_use_sudo&#8217;, false);<\/p>\n<p>\/\/ Writable dirs by web server<br \/>\nset(&#8216;writable_dirs&#8217;, [<br \/>\n    &#8216;bootstrap\/cache&#8217;,<br \/>\n    &#8216;storage&#8217;,<br \/>\n    &#8216;storage\/app&#8217;,<br \/>\n    &#8216;storage\/app\/public&#8217;,<br \/>\n    &#8216;storage\/framework&#8217;,<br \/>\n    &#8216;storage\/framework\/cache&#8217;,<br \/>\n    &#8216;storage\/framework\/sessions&#8217;,<br \/>\n    &#8216;storage\/framework\/views&#8217;,<br \/>\n    &#8216;storage\/logs&#8217;,<br \/>\n]);<\/p>\n<p>task(&#8216;build&#8217;, function () {<br \/>\n    run(&#8216;cd {{release_path}} &amp;&amp; build&#8217;);<br \/>\n});<\/p>\n<p>\/\/ [Optional] if deploy fails automatically unlock.<br \/>\nafter(&#8216;deploy:failed&#8217;, &#8216;deploy:unlock&#8217;);<\/p>\n<p>\/\/ Migrate database before symlink new release.<br \/>\nbefore(&#8216;deploy:symlink&#8217;, &#8216;artisan:migrate&#8217;);<\/p>\n<p>\/\/ \u30ec\u30dd\u30b8\u30c8\u30ea\u76f4\u4e0b\u306bLaravel\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u3042\u308b\u306a\u3089change_cwd\u30bf\u30b9\u30af\u306f\u4e0d\u8981<br \/>\n\/\/ \u4eca\u56de\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u69cb\u6210\u306fsrc\/app\/\u4ee5\u4e0b\u306bLaravel\u304c\u5c55\u958b\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\ntask(&#8216;change_cwd&#8217;, function () {<br \/>\n    $subdir = get(&#8216;release_path&#8217;) . DIRECTORY_SEPARATOR . &#8216;src\/app&#8217;;<br \/>\n    set(&#8216;release_path&#8217;, $subdir);<br \/>\n    run(&#8216;cd {{release_path}}&#8217;);<br \/>\n});<br \/>\nafter(&#8216;deploy:update_code&#8217;, &#8216;change_cwd&#8217;);<br \/>\n[\/php]<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u60c5\u5831\u306f<code>servers.yml<\/code>\u306b\u5916\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n[python]<br \/>\n\u30db\u30b9\u30c8\u540d.mixh.jp:<br \/>\n  hostname: \u30db\u30b9\u30c8\u540d.mixh.jp<br \/>\n  user: mixhost\u306e\u30e6\u30fc\u30b6\u30fc\u540d<br \/>\n  identityFile: \/home\/vagrant\/.ssh\/mixhost.pk\uff08\u3053\u308c\u306fmixhost\u306e\u79d8\u5bc6\u9375\uff09<br \/>\n  stage: production<br \/>\n  deploy_path: &quot;\/home\/\u30e6\u30fc\u30b6\u30fc\u540d\/\u5c55\u958b\u5834\u6240&quot;<br \/>\n  branch: master<br \/>\n[\/python]<\/p>\n<h2>\u30c7\u30d7\u30ed\u30a4\u3057\u3066\u307f\u308b<\/h2>\n<p>\u6e96\u5099\u304c\u3067\u304d\u305f\u3089Deploy\u3057\u307e\u3059\u3002<br \/>\n\u81ea\u5206\u306e\u30de\u30b7\u30f3\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066<code>dep<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>[code lang=bash]<br \/>\ndep deploy production<br \/>\n[\/code]<\/p>\n<p>\u7279\u306b\u554f\u984c\u306a\u3051\u308c\u3070Deploy\u304c\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>.env\u306e\u9069\u7528<\/h2>\n<p>Laravel\u306f.env\u306b\u30af\u30ec\u30c7\u30f3\u30b7\u30e3\u30eb\u306a\u60c5\u5831\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u30ec\u30dd\u30b8\u30c8\u30ea\u306b\u306f\u30af\u30ec\u30c7\u30f3\u30b7\u30e3\u30eb\u306a\u60c5\u5831\u3092\u30b3\u30df\u30c3\u30c8\u3057\u306a\u3044\u306e\u3067.env\u306f\u542b\u307e\u308c\u307e\u305b\u3093\u3002<br \/>\n\u306a\u306e\u3067.env\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<br \/>\n.env\u306f<code>shared_files<\/code>\u306b\u8a2d\u5b9a\u3057\u3066\u3042\u308b\u306e\u3067\u5b9f\u614b\u306f\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n.env\u3092\u4fee\u6b63\u3057\u305f\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u751f\u6210\u3057\u76f4\u3057\u307e\u3059\u3002<\/p>\n<p>[code lang=bash]<br \/>\nphp artisan config:cache<br \/>\n[\/code]<\/p>\n<h2>mixhost\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u306e\u8a2d\u5b9a<\/h2>\n<p>\u30c7\u30d7\u30ed\u30a4\u3092\u5b9f\u884c\u3059\u308b\u3068<code>servers.yml<\/code>\u306b\u8a2d\u5b9a\u3057\u305f<code>deploy_path<\/code>\u306bcurrent\u3068\u3044\u3046\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u306b\u306f\u3053\u306e\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3067\u3046\u307e\u304f\u8a2d\u5b9a\u3067\u304d\u3066\u3044\u308c\u3070\u30d6\u30e9\u30a6\u30b6\u3067\u30da\u30fc\u30b8\u3092\u958b\u304f\u3068Laravel\u306e\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>\u691c\u8a0e<\/h2>\n<p>mixhost\u306f\u81ea\u52d5\u7684\u306bSSL\u5bfe\u5fdc\u304c\u884c\u308f\u308c\u307e\u3059\u3002<br \/>\n\u304a\u305d\u3089\u304fSSL\u5bfe\u5fdc\u3059\u308b\u3068\u304d\u306b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u306b.well-known\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u81ea\u52d5\u7684\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<br \/>\n\u30ea\u30ea\u30fc\u30b9\u3059\u308b\u3068.well-known\u3082shared_dirs\u306b\u8a2d\u5b9a\u3057\u3066\u304a\u3044\u305f\u307b\u3046\u304c\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u305f\u3060\u52d5\u4f5c\u306f\u672a\u78ba\u8a8d\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>mixhost\u306fComposer\u3082\u4f7f\u3048\u308b\u306e\u3067PHP\u306e\u5b9f\u884c\u74b0\u5883\u3068\u3057\u3066\u306f\u7ba1\u7406\u304c\u697d\u3060\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\nDeployer\u3067\u306e\u30c7\u30d7\u30ed\u30a4\u3082\u3067\u304d\u305f\u306e\u3067WordPress\u306e\u30c7\u30d7\u30ed\u30a4\u306a\u3069\u3082\u3067\u304d\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u3060\u3068\u521d\u671f\u8cbb\u7528\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3059\u304cmixhost\u306f\u4eca\u306e\u3068\u3053\u308d\u7121\u6599\u3067\u3059\u3002<br \/>\n\u8a73\u3057\u304f\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=2TTRL0+E2NWKY+3JTE+60H7L\" target=\"_blank\" rel=\"nofollow\"><br \/>\n<img decoding=\"async\" border=\"0\" width=\"468\" height=\"60\" alt=\"\" src=\"https:\/\/www28.a8.net\/svt\/bgt?aid=171029988851&#038;wid=001&#038;eno=01&#038;mid=s00000016565001010000&#038;mc=1\"><\/a><br \/>\n<img decoding=\"async\" border=\"0\" width=\"1\" height=\"1\" src=\"https:\/\/www10.a8.net\/0.gif?a8mat=2TTRL0+E2NWKY+3JTE+60H7L\" alt=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5e74\u306e\u590f\u306b\u3001\u3053\u306e\u30d6\u30ed\u30b0\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u74b0\u5883\u3092mixhost\u306b\u5207\u308a\u66ff\u3048\u307e\u3057\u305f\u3002 mixhost\u306fComposer\u3082\u4f7f\u3048\u308b\u306e\u3067Deployer\u3067\u30c7\u30d7\u30ed\u30a4\u306b\u6311\u6226\u3057\u3066\u307f\u307e\u3057\u305f\u3002 Git\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Deplo &#8230; <\/p>\n","protected":false},"author":1,"featured_media":1389,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"views":6407,"_links":{"self":[{"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1529"}],"collection":[{"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1529"}],"version-history":[{"count":11,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1529\/revisions"}],"predecessor-version":[{"id":1542,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1529\/revisions\/1542"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/1389"}],"wp:attachment":[{"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}