ããã...å€åããªãã¯ãçŸä»£ã®Webã¢ããªã±ãŒã·ã§ã³éçºã®å·šå ã«ããæäœã®ãããª
ããæ°å¹Žãç§ã¯Vagrantã«ã€ããŠè³ã«ããŸãããããªããããããããæ§æãããä»®æ³ãã·ã³ãè¿ éã«å±éããããã®ãã®ããŒã«ã«ã€ããŠè³ããèããŸããã ããããVagrantã«ã€ããŠã®å¥ã®èšäºãèªããã³ã«ããã®ããã®æ瀺ãé床ã«è€éã§ããããšã«æŒãã®ããããŸããã äžèŠãªæ å ±ã§é ãæºãã¶ãã®ã¯å¥œãã§ã¯ãããŸãããå¿ èŠãªãã®ããã¹ãŠãsudo apt-get install [program-name]ãã§å ¥åããå€ãèšå®ãåºæ¬ãšããŠæ°ããèšå®ãnginxã«æåã§è¿œå ããæ¹ããã£ãšç°¡åã§ããã ããããå æ¥Laravelã®ããã¥ã¡ã³ãã®æ瀺ãèªãã åŸãç§ã¯ãã¹ãŠãããã»ã©æãã¯ãªãããšã«æ°ã¥ããŸããããããŠç§ã®ããã°ã©ãã³ã°ã§å人ã«Vagrantãã»ããã¢ããããªããã°ãªããªãã£ãã®ã§ãããã°ã©ãã³ã°ã®æ¹æ³ãå人ã«æããããšãžã®æ¬²æ±ãæåŸã®èŠå ã§ããããšã«æ°ã¥ããŸãã...
Laraveléçºè ã¯ãVagrantçšã®ç¬èªã®ä»®æ³ãã·ã³ã€ã¡ãŒãžãäœæããŸãããããã«ã¯ã幞ããªéçºã«å¿ èŠãªãã¹ãŠã®ããŒã«ãšããŒã«ãæ¢ã«å«ãŸããŠããŸãã ãã®çµæãLaravelãç»åãæäœããããã«Laravelããæ éã«æäŸãããå°ããªHomesteadãŠãŒãã£ãªãã£ãšé£æºããŠããããæäœããã®ã¯éåžžã«ç°¡åã§ãã ã€ã¡ãŒãžã«ã€ã³ã¹ããŒã«ãããŠããäž»èŠã³ã³ããŒãã³ãã®ãªã¹ãã¯ã ããã¥ã¡ã³ãã«èšèŒãããŠããŸã ã ãªã¹ããããŠããªãä»ã®ããŒã«ã«ã¯ãããšãã°composerãgitãªã©ããããŸãã äžè¬ã«ãå¿ èŠãªãã®ã¯ãã¹ãŠãã§ã«ãããŸãã ããªããšç§ã¯ãVagrantãšHomesteadãã©ã®ããã«æ©èœããããå°ãç解ããç§ãã¡ã®æ¥åžžæ¥åã§ãã®å šäœãå·éã«äœ¿çšããã ãã§ååã§ãã
ãŸãããã®ã»ãããLaravelã«åºã¥ããããžã§ã¯ãã«ã®ã¿äœ¿çšããå¿ èŠã¯ãããŸãããHomesteadã¹ã¯ãªããã¯ãããŒã¿ããŒã¹ãšnginxãµãŒããŒã®æ§æã管çã§ããã·ã³ãã«ãªæ§æãã¡ã€ã«ãéããŠãè€æ°ã®ãããžã§ã¯ãã®éçºãäžåºŠã«è¡ãããã®ã·ã³ãã«ãªããŒã«ãæäŸããŸãã ãã®çµæãDenwerã«ã»ãŒé¡äŒŒããŠããŸãããåæã«æ¬æ ŒçãªLinuxãµãŒããŒãæ±ã£ãŠããŸããå¿ èŠã«å¿ããŠãæåã§ç°¡åã«ç®¡çãéå§ããä»ã®ã³ã³ããŒãã³ããã€ã³ã¹ããŒã«ããŠãããæ·±å»ã«ãªããçµéšè±å¯ãªéçºè ã
ããªã»ãã
å®éãããªããããªããã°ãªããªãããšã¯ãVirtualBoxãšVagrantãã³ã³ãã¥ãŒã¿ãŒã«ã€ã³ã¹ããŒã«ãããããã®èšå®ãããã«æãäžããããšã ãã§ãã ãã®èšäºã§ã¯ãWindowsãŠãŒã¶ãŒã«ã€ããŠã®ã¿èª¬æããŸããLinuxãŠãŒã¶ãŒã¯ãããã¥ã¡ã³ãã®æ瀺ã«åŸã£ãŠãã¹ãŠãèªåã§è¡ãããšãã§ãããšæãããã§ãã ãã¡ããããã¹ãŠã«åé¡ããªãããã§ã¯ãããŸããã Windowsã®ãŠãŒã¶ãŒåããã·ã¢èªã§æžãããŠããå ŽåïŒç§ã®ããã«ïŒãã³ãã³ãã®å®è¡äžã«ãšã©ãŒã«åããŠãã ããã ãã®å Žåããã·ã¢èªæåã®ãªããã©ã«ããŒã瀺ãã·ã¹ãã ç°å¢å€æ°VAGRANT_HOMEãäœæããããšããå§ãããŸãïŒãããè¡ãæ¹æ³ãããããªãå Žåã¯ãã¡ãããèªã¿ãã ããïŒããŸãã VirtualBoxã®èšå®ãéãããªãä»®æ³ãã·ã³ã®ã¹ãã¬ãŒãžãã©ã«ããŒãæå®ããŸããã·ã¢æåã ããã§ããããã®ããŒã«ã¯æ£åžžã«åäœãããšã©ãŒãçºçããªããªããŸããã
ããã§ãç§ãã¡ã¯èªåèªèº«ã®åºç€ãäœæããŸãããããã€ãã®ã³ãã³ããæžãæã§ã:)ããŒããŒãã®Win + RããŒãæŒããéãããŠã£ã³ããŠã«ãcmdããšãããã¬ãŒãºãæŒããŠã EnterãæŒããŠã³ãã³ãã©ã€ã³ã«è¡ããŸãã ãšããã§ãVagrantãã€ã³ã¹ããŒã«ããåŸããã®ã³ãã³ããã³ã³ãœãŒã«ã§äœ¿çšã§ããããã«ããã«ã¯ããã·ã³ãåèµ·åããå¿ èŠããããŸãã ãŸããã³ã³ãœãŒã«ã«ãvagrantããšããåèªãå ¥åããŠãããŒã«ãæ£ããã€ã³ã¹ããŒã«ãããŠãããã©ããã確èªããŸãããã
å æ°ã§ãã åé¡ãããå Žåã¯ãPATHå€æ°ã確èªããŠãã ãã ãVagrantãã€ããªãžã®ãã¹ãå¿ èŠã§ãã ãŸã ãã·ã³ããªããŒãããŠããªãå Žåã¯ãªããŒãããŸãã
ããã«å ¬åŒããã¥ã¡ã³ãã§ã¯ãgitã䜿çšããŠã¯ããŒã³ãäœæããããããã«æªãããšã«ãã³ã³ããŒã¶ãŒãä»ããŠã³ã³ãã¥ãŒã¿ãŒã«Homesteadã©ã€ãã©ãªãŒãã€ã³ã¹ããŒã«ããããã«æäŸãããŠããŸãã Windowsã«ã¯gitããWindowsã«ã¯äœæ²å®¶ãããããŸããã ãããŠäžè¬çã«ãããããã¹ãŠã®ããŒã«ãã€ã³ã¹ããŒã«ããæéãçãããã«ããã®ä»®æ³ãã·ã³ãã€ã³ã¹ããŒã«ããããšããŠããã®ã§ããŸã æªã¿ã«å¯ŸåŠããã«ãæãªããã®æ¹æ³ã§githubãã zipã¢ãŒã«ã€ããããŠã³ããŒãããŸãã -ã³ã³ãã¥ãŒã¿äžã®ãã®ã©ã€ãã©ãªã®ããŒãžãšããã€ãã®ããã«ããã解åããŸã:)
éæ¢±ïŒ ããã§ãã³ã³ãã¥ãŒã¿ãŒã«ã©ã€ãã©ãªãŒãã€ã³ã¹ããŒã«ããã«ã¯ã homestead initã³ãã³ããå®è¡ããå¿ èŠããããŸãã ããããããã§ãåé¡ããããŸãããã®ã³ãã³ãã¯ãComposerãšã¡ã€ã³ã®Laravelã©ã€ãã©ãªãã³ã³ãã¥ãŒã¿ãŒã«ã€ã³ã¹ããŒã«ãããŠããå Žåã«ã®ã¿æ©èœããŸãã ãã1ã€ã®ãªãã·ã§ã³ã¯init.shã¹ã¯ãªãããå®è¡ããããšã§ã ãããã¯ããé£ã«ãããŸãããå®è¡ããã«ã¯Linuxã€ã³ã¿ãŒããªã¿ãŒãå¿ èŠã§ãã äžè¬çã«ãåã³ããããã®ãã®ã眮ãããã«...ããªããèŠãããšãã§ããããã«ãWindowsã®äžã§ç°¡åãªè§£æ±ºçã¯ãããŸããã ããã§ã¯ãæåã§ããã€ãã®ããšããããŸããããinit.shãã¡ã€ã«ã®å 容ãéããŠèª¿ã¹ãŸãã ã³ãŒãã¯11è¡ã®ã¿ã§ãã ã芧ã®ãšãããã©ã€ãã©ãªããã€ã³ã¹ããŒã«ãããã«ã¯ãããã€ãã®ãã¡ã€ã«ãã/ .homesteadãã©ã«ããŒã«ã³ããŒããã ãã§ãïŒãèšå·ã¯çŸåšã®ãŠãŒã¶ãŒã®ããŒã ãã£ã¬ã¯ããªã瀺ããŸãããCïŒ\ Users \ Ahmadullin \ãã§ãïŒã ã¹ã¯ãªããã®åäœãåæãããšããããã次ã®ãã¡ã€ã«ãå¿ èŠã§ãããšçµè«ä»ããããŸãã
- src / stubs / Homestead.yaml-toã/ .homesteadãã©ã«ããŒ
- src / stubs / after.sh-ã/ .homesteadãã©ã«ããŒãž
- src / stubs / aliases-ã/ .homesteadãã©ã«ããŒãž
- Vagrantfile
- ã¹ã¯ãªãã/ *ïŒãã®ãã©ã«ããŒå ã®ãã¹ãŠã®ãã¡ã€ã«ïŒ
ãŠãŒã¶ãŒã®ããŒã ãã£ã¬ã¯ããªã«.homesteadãã©ã«ããŒãäœæãããããã®ãã¡ã€ã«ãããã«ã³ããŒããŸããããã¯ãä»®æ³ãã·ã³ã管çããããã®å¶åŸ¡ã¹ã¯ãªãããå«ããã©ã«ããŒã«ãªããŸãã ã¡ãªã¿ã«ãæšæºã®Windowsã€ã³ã¿ãŒãã§ã€ã¹ã䜿çšããŠãããªãªãã§å§ãŸããã¡ã€ã«ãäœæããããšã¯ã§ããŸããã ãã®åé¡ã解決ããã«ã¯ãFarãŸãã¯Total Commanderãªã©ã䜿çšããŸãã ã ãããæçµçã«ãç§ã¯æ¬¡ã®åçãåŸãŸããïŒ
èŠãŠ...ããã¯å®å šã«ç°ãªãåé¡ã§ãã ä»®æ³ãã·ã³ã䜿çšããæºåãã»ãŒæŽããŸããã ãã·ã³ã«ã¢ã¯ã»ã¹ããã«ã¯ãèªåçšã®SSHããŒãäœæããå¿ èŠããããŸãã ããã§ã¯ãPuttyããŒã«ãããã圹ç«ã¡ãŸããããã¯ãåŸã§ãµãŒããŒã®ç®¡çã«ã䜿çšããŸãã PuttyGenããã°ã©ã ãããŠã³ããŒãããããã䜿çšããŠç§å¯ããŒãšå ¬éããŒãçæããã/ .sshãã©ã«ããŒã«ä¿åããŸãã çæããã«ã¯ããçæããã¿ã³ãã¯ãªãã¯ããããã°ã©ã ã®äžå€®ã§ããŠã¹ãå°ãåãããŠã©ã³ãã ããŒãçæããããŒãä¿åããŸãã ãŸããä¿åãããšããããã°ã©ã ã¯ãããŒãã¹ãã¬ãŒãºãã®å ¥åãæ±ããŸããããã®æ®µéã§ã¯ãã¹ã¯ãŒãã¯å¿ èŠãªãã®ã§ããã¹ã¯ãŒããªãã§ããŒãä¿åããPuttyããã®ãããªããŒã®äœæã«å¯ŸããŠèŠåãããšããäºå®ã«æ³šæãæããŸããã çµå±ã®ãšãããå®éã®æŠéãµãŒããŒã§ã¯ãªãããã¹ããã·ã³ããæã£ãŠããªãã®ã§ãããã¯ãã¹ãŠããã»ã©æãããã§ã¯ãããŸããã
ãã/ .ssh / id_rsa.pubããšããååã§å ¬ééµãä¿åããŸãã åæã«ããã©ã€ããŒãããŒã2ã€ã®åœ¢åŒã§ä¿åããå¿ èŠããããŸããPuttyã®æšæºïŒãã©ã€ããŒãããŒãã¿ã³ããã¡ã€ã«åã/ .ssh / putty_private.ppkãªã©ïŒãšOpenSSH圢åŒïŒå€æã¡ãã¥ãŒã®ãOpenSSHããŒã®ãšã¯ã¹ããŒããã¢ã€ãã ïŒ ããã¡ã€ã«åã¯ãã/ .ssh / id_rsaãã§ããå¿ èŠããããŸãã Puttyããã°ã©ã ãä»ããŠãµãŒããŒã«æ¥ç¶ããããã®æåã®ç§å¯éµãšãHomesteadã¹ã¯ãªãããä»ããŠãµãŒããŒãæ§æããã³åæåããããã®2çªç®ã®ç§å¯éµãå¿ èŠã§ãã ãã®çµæãããŒãã¡ã€ã«ã§æ¬¡ã®ããã«ãªããŸãã
å¿ èŠã«å¿ããŠãèµ·åããåã«ãµãŒããŒã«ããã€ãã®èšå®ã瀺ãããšã®ã¿ãæ®ããŸãã ä»»æã®ãšãã£ã¿ãŒã§Homestead.yamlãã¡ã€ã«ãéããŸãã ããã¯ãä»®æ³ãã·ã³ã®ãã¹ãŠã®äž»èŠãªãã©ã¡ãŒã¿ãŒãæå®ã§ããå¯äžã®èšå®ãã¡ã€ã«ã§ãã æšæºèšå®ã¯ãã§ã«ååã«èšè¿°ãããŠãããæåã«ããã§äœãå€æŽããå¿ èŠã¯ãããŸããããã®å 容ãç°¡åã«èª¬æããŸããã ãã©ã«ã ãã»ã¯ã·ã§ã³ã¯ãä»®æ³ãã·ã³ã®ãã£ã¬ã¯ããªãšå®éã®ã·ã¹ãã ãšã®æ¥ç¶ã瀺ãããæ°ã«å ¥ãããä»®æ³ãã·ã³ã®ãã¡ã€ã«ãç°¡åã«ç·šéã§ããŸãã¡ã€ã³ã·ã¹ãã ã®ãšãã£ã¿ãŒã ã sites ãã»ã¯ã·ã§ã³ã¯nginxã®èšå®ã§ããç¹°ãè¿ããŸããããã¹ãŠãéåžžã«ç°¡åã§ãããµãŒããŒã§ãã¡ã€ã³ãšãã£ã¬ã¯ããªã®é¢ä¿ãèšå®ããã ãã§ãã ã ããŒã¿ããŒã¹ ãã»ã¯ã·ã§ã³ã«ã¯ãä»®æ³ãã·ã³ã®åæåæã«äœæãããããŒã¿ããŒã¹ã®ååããªã¹ããããŸãã å®éãã·ã¹ãã ã®æ§æã«ã€ããŠç¥ã£ãŠããå¿ èŠãããã®ã¯ããã ãã§ãã
PSã¯ããããã©ã«ããŒãã»ã¯ã·ã§ã³ã§ã¯ãä»®æ³ãã·ã³å ã®é¡äŒŒãã©ã«ããŒãšã/ Codeãã©ã«ããŒã®ãªã³ã¯ãããã©ã«ãã§ç€ºãããŠããããããŠãŒã¶ãŒã®ãã©ã«ããŒã«ãã®ãã£ã¬ã¯ããªãäœæããããšãå¿ããªãã§ãã ããã ãã®åŸããããä»ããŠãµãŒããŒã®ãã¡ã€ã«ãæäœã§ããããã«ãªããŸãã
PPSããã«ãyaml圢åŒã¯ããŒã¿ã¹ãã¬ãŒãžãžã®ã¢ãããŒãããããã«ç°ãªãããšã«æ³šæããŠãã ããã ãããã£ãŠãããã«ç¬èªã®ãã©ã¡ãŒã¿ãè¿œå ããå ŽåãããŒã¿éå±€ã¯ããããéããŠå®çŸ©ããããããããã§ã®ã¹ããŒã¹ã®æ°ãéèŠã§ããããšã«çæããŠãã ããã ãããã£ãŠããã®ãããªã€ã³ãã³ããããã§ã«ãã¡ã€ã«ã«ããæ°ãããªããžã§ã¯ãã«èšå®ããŸãã ãã®åœ¢åŒã®è©³çŽ°ã«ã€ããŠã¯ãäŸãã°Wikipediaã§èªãããšãã§ããŸãã
ãããŠæåŸã«ãç§ãã¡ã¯æãèå³æ·±ãããšã«æ¥ãŸã...
ä»®æ³ãµãŒããŒã®èµ·å
ä»®æ³ãã·ã³ãå®è¡ããŠã¿ãŸãããïŒ ã/ .homesteadãã©ã«ããŒãžã®ã³ãã³ãã©ã€ã³ãéãããã®äžã§ããžãã¯ã³ãã³ããå®è¡ããŸãã
vagrant up
ãã¹ãŠãæ£ãããã°ãLaraveléçºè ããVirtualBoxã€ã¡ãŒãžã®ããŠã³ããŒããéå§ããŸããåçã¯æ¬¡ã®ããã«ãªããŸãã
Vagantããåé¡ãéç¥ãããå Žåã¯ã絶æããªãã§ãã ããããšã©ãŒã®ããã¹ãã泚ææ·±ã調ã¹ããã®ããã¹ããGoogleã«éã蟌ãããšããŸãã ãããããåæ§ã®åé¡ã«çŽé¢ããäœããã®åœ¢ã§ããã解決ããå€ãã®äººã ããã§ã«ååšããŠããŸãã ã€ã¡ãŒãžãã³ã³ãã¥ãŒã¿ãŒã«æ£åžžã«ããŠã³ããŒãããããã·ã³ã®ããŒãäžã«ãšã©ãŒãçºçããå Žåã¯ãVirtualBoxãéããŠVagrantãªãã§æåã§èµ·åããäœãèµ·ãããã確èªããŠãã ããã å®éãVagrantã¯VirtualBoxã®åãªãã¢ããªã³ã§ãããå¿ èŠã«å¿ããŠãVagrantã¯ç¬èªã«æ§ç¯ããä»®æ³ãã·ã³ãç°¡åã«å®è¡ã§ããŸãã
ãã¹ãŠãããŸããã£ãå Žå...ãããŠãVagrantã®æ°åéã®äœæ¥ã®åŸãä»®æ³ãã·ã³ãå®å šã«æ§æãããå¿ èŠãªãã¹ãŠã®ã³ã³ããŒãã³ããšãã©ã¡ãŒã¿ãŒãã€ã³ã¹ããŒã«ãããŸãã ãŸããå®å šãªãµãŒããŒã«æ¢ã«å®å šã«æ¥ç¶ã§ããŸãã ããã«ã¯ãããšãã°ãPuttyã䜿çšã§ããŸãã
ãµãŒããŒæ¥ç¶
putty.exeãã¡ã€ã«ãããŠã³ããŒãããããã䜿çšããŠãµãŒããŒã«æ¥ç¶ããŸãã ããã°ã©ã ã次ã®ããã«æ§æããŸãããµãŒããŒã¢ãã¬ã¹ãããŒããããã³ãŠãŒã¶ãŒãæå®ããã æ¥ç¶-> SSH->èªèšŒ ãã»ã¯ã·ã§ã³ã§ã èªåã§çæããç§å¯ããŒã®ã¢ãã¬ã¹ãæå®ããããšãå¿ããªãã§ãã ããã ãããã°ã©ã ãèµ·åãããã³ã«ããããé§åããªãããã«ãããéãããã¿ã³ãã¯ãªãã¯ããŠãã ããã 泚æããŠãã¹ãŠãæ£ããå®è¡ãããšãèªåã®ä»®æ³ãµãŒããŒã®ã¿ãŒããã«ãŠã£ã³ããŠãç®ã®åã«éããŸãã
PSäžéšã®ãã·ã³ã§ã¯ã次ã®åé¡ãç¹å®ãããŸãããVagrantã¯äœããã®çç±ã§ãPuttyã§äœæãããããŒãã¡ã€ã«ãåãå ¥ãããç¬èªã®ãããå®å šãªãã¡ã€ã«ãçæããŸãã ãã®ããŒã¯ãã¢ãã¬ã¹ãã\ .homestead \ .vagrant \ machines \ default \ virtualbox \ private_keyãã«ä¿åãããŸãã ããŒã䜿çšããŠãµãŒããŒã«æ¥ç¶ã§ããªãå Žåã¯ãVagrantã«ãã£ãŠçæãããããŒã䜿çšããå¿ èŠããããŸãã ããã䜿çšããåã«ãPuttyGenããã°ã©ã ãå床éããVagrantã«ãã£ãŠäœæããããã¡ã€ã«ããã®äžã«ã€ã³ããŒããïŒå€æ->ããŒé ç®ã®ã€ã³ããŒãïŒããã圢åŒã§ä¿åãïŒãç§å¯ããŒã®ä¿åããã¿ã³ïŒããã®ãã¡ã€ã«ã䜿çšããŠãµãŒããŒã«æ¥ç¶ããŸãããã
ãããã£ãããã¡ã€ã¿ãŒïŒ ããã®Webã¢ããªã±ãŒã·ã§ã³éçºã®äžçãåŸæããæåã®ãã€ã«ã¹ããŒã³ãéããŸããã ããŠããµãŒããŒäžã§ãã¹ãŠãæ£ããæ©èœããããšã確èªããããã«ãããã«ããã€ãã®ã³ãã³ããèšè¿°ããŠLaravelãã€ã³ã¹ããŒã«ããŸãããã ãµãŒããŒã§æ¬¡ã®2ã€ã®ã³ãã³ããé çªã«å ¥åããŸãã
cd Code composer create-project laravel/laravel Laravel --prefer-dist
ãããŠãè¶ã飲ã¿ã«è¡ããŸãã æ»ã£ãããããŒã ãã£ã¬ã¯ããªã«äœæããéåžžã«ã/ Codeãã©ã«ããŒãéããŸãããã¹ãŠãããŸãããã°ãé©ãããããŸã:)
ãµãŒããŒã¯èªå® ã§äœããçèŽããåºåã§ã¯ãå¿ èŠãªãã¹ãŠã®ãã¬ãŒã ã¯ãŒã¯ãã¡ã€ã«ãå«ãLaravelãã©ã«ããŒãå®éã®ã³ã³ãã¥ãŒã¿ãŒã«ååŸããŸãã ã ãã©ãŠã¶ã§ã¢ããªã±ãŒã·ã§ã³ã衚瀺ããããã«æå°éã®ããšãè¡ãããšã¯æ®ã£ãŠããŸããhostsãã¡ã€ã«ã管çè ã¢ãŒãã§éããŠç·šéããããã«æ¬¡ã®è¡ãè¿œå ããŸãã
192.168.10.10 homestead.app
ãã©ãŠã¶ã§homestead.appã¢ãã¬ã¹ãéããŸãã ããŠãç®ã«èŠãããã®ã¯äœã§ããïŒ ç§ã¯ãã®åçãæã£ãŠããŸãïŒ
ç®ã现ãããšãLaravelã®ããŽã衚瀺ãããŸã:)ãŸããããŠã¹ã§æåãéžæã§ããã®ã§ãããèŠããããªããŸãã æŒç¿ãšããŠãå°ãä¿®æ£ããŸãããã ãã¡ã€ã«ã ã\ Code \ Laravel \ resources \ views \ welcome.blade.php ããéãããœãŒã¹ã³ãŒãã®æåã®20è¡ã§ãcolorïŒïŒB0BEC5;ãããã³ãfont-familyïŒ 'Lato';ãã®è¡ãåé€ã§ããŸãã 次ã«ããã®ãã¡ã€ã«ãä¿åããŠããŒãžãæŽæ°ããŸãã è¯ããªã£ãããã§ãïŒïŒ
äžè¬çã«ã¯ãããã§ã»ãŒãã¹ãŠã§ãã èšäºã®ãã®éšåã«å°éãããã¹ãŠãããŸããã£ããªããããã¯ããªããçŽ æŽãããããšãæå³ããããªãã¯ä»ãæ¬æ Œçãªç¬èªã®ãŠã§ããµãŒããŒãæã£ãŠããããšãæå³ããŸãã åæ¢ãæ§æã®æŽæ°ãããã³ã·ã¹ãã ããå®å šã«åé€ããæ¹æ³ã«ã€ããŠã¯ãå°ãã話ãããã ãã§ãã ãããè¡ãã«ã¯ã次ã®Vagrantã³ãã³ãã䜿çšããã/ .homesteadãã£ã¬ã¯ããªã«ããããšãå¿ããªãã§ãã ããã
# vagrant up # vagrant halt # Homestead. # - , # Vagrant vagrant provision # . # , , # vagrant destroy # Vagrant' # , Windows, # , , , # "ssh" . # , # , - : Putty # , vagrant ssh
ãã®èšäºã«æžãããŠããããšã¯ãã¹ãŠãVagrantã®ãã¹ãŠã®æ©èœã®éåžžã«ç°¡åãªèª¬æã§ããããæ·±ãç解ãããå Žåã¯ããã®ããŒã«ã«é¢ããå ¬åŒããã¥ã¡ã³ãããã®ä»ã®èšäºã調ã¹ãŠãã ããã ãŸãããã®èšäºã«é¢ããã³ã¡ã³ããèªãããšããå§ãããŸããæçšãªããšãæžãè³¢ã人ãããå ŽåããããŸãã ãŸããããã ãã§ãã èšäºã¯çµäºããããã§ãã ããã人ã ã®å©çã«ãªãããšãé¡ã£ãŠããŸãã ãããŠãããªãã«ãšã£ãŠæé«ã®ã芪æãªãéçºè :)