Chromebookã§ããã°ã©ãã³ã°ãããã¨ãã«ãããªããä¸è©±ã«ãªã£ã¦ãã Chrome Dev Editor ã«ã¤ãã¦æ¸ãããã¨æãã¾ãã
å人çã«ã¯ Chrome Dev Editor ã¯ã¨ã¦ã便å©ãªã¢ããªã ã¨æãã¾ããã³ã¼ããæ¸ãããã®ã¨ãã£ã¿æ©è½ã ãã§ãªãã以ä¸ã®ãããªãã¨ãç°¡åã«è¡ãã¾ãã
- GitHub ãã Clone
- Git commit, push, branchåãæ¿ã
- Chrome app ãããã°
- Mobile ã§ã®ãããã°
- Chrome Web Store 㸠push
Git ã«å¯¾å¿ãã¦ããã¦ããã®ã¯ç¹ã«å¬ãããã¨ã§ãã
ãããªã«ãçå£ã« Git ã®æ©è½ãçãè¾¼ãã§ããã¦ããã®ã«ãã²ã¨ã¤ã ãæ®å¿µãªäºæ ãçãã¦ãããã¨ã«æ°ã¥ãã¦ãã¾ã£ãã®ã§ãããã«æ¸ãã¦ãããã¨ã«ãã¾ããã
ä»å¾ Chrome Dev Editor ã§ããã¸ã§ã¯ãã® Git 管çãå§ããäºå®ã®æ¹ã®åèã«ãªãã°å¬ããã§ãã
ãã©ãã«åç¾
ã¾ãã¯ãChrome Dev Editorï¼CDEï¼ ãèµ·åããã¦ã£ã³ãã¦ä¸é¨ã®å·¦ã®æ¹ã«ããæ¯è»ã¢ã¤ã³ã³ãã¯ãªãã¯ãã¾ãã表示ãããè¨å®ããã«ã®ãRoot Directoryãã®æ¬ã«ãGoogle Driveã®ä¸ã«ããé©å½ãªãã©ã«ãããæå®ããCloseãã¾ãã
ç¶ãã¦ãGitHubããããã¸ã§ã¯ããCloneãã¾ããã¦ã£ã³ãã¦ä¸é¨ã®å·¦å´ã®ã横ä¸æ¬ç·ãã¿ã³ï¼ãã³ãã¼ã¬ã¼ãã¿ã³ï¼ããã¯ãªãã¯ãã表示ãããã¡ãã¥ã¼ãããGit Clone...ããé¸æãã¾ããç¶ãã¦è¡¨ç¤ºãããã¦ã£ã³ãã¦ã«GitHubã§ãã¹ãã£ã³ã°ããã¦ããé©å½ãªããã¸ã§ã¯ãã®URLãå ¥åãã¾ãã
ãCloneããã¯ãªãã¯ããã¨ãå ã»ã©ãRoot Directoryãã«æå®ãããã©ã«ãã®ä¸ã« GitHub ããããã¸ã§ã¯ãä¸å¼ããã¦ã³ãã¼ãããã¾ããï¼å°ãæéããããã¾ããï¼
ãã¦ã³ãã¼ããå®äºãã㨠CDE ã®å·¦å´ã®ãã©ã«ãã»ãã¡ã¤ã«ä¸è¦§ããã«ã«ããã¾Cloneããããã¸ã§ã¯ãã®ãã©ã«ããç¾ãã¾ãããããå³ã¯ãªãã¯ãã¦ããProperties...ããã¯ãªãã¯ãã¾ããããã¨ã以ä¸ã®ãããªã¦ã£ã³ãã¦ãéãã¾ãã
ãLocationãã®æ¬ã«è¨è¼ããã¦ããå
容ã«æ³¨ç®ãã¦ãã ããããã®å¤ã¯ãããã¸ã§ã¯ãã®ãã©ã«ãããChromebookå
é¨ã®ã©ã®å ´æã«ä¿åããã¦ãããã表ãã¦ãã¾ãããããããè¦ãã¨ãdrive-4bda01a1e0d7d530798a08c6f0c558c7e3e8f87c
ã¨ããã©ã³ãã ãããªæååãå²ãå½ã¦ããã¦ãããã¨ããããã¾ãã
Chromebookå
é¨ã§ã¯ãGoogleãã©ã¤ãã¨åæããããã®ãã©ã«ãã/special/drive-ã©ã³ãã ãªå¤/root
ã¨å½åãã¦æ±ã£ã¦ãããã¨ããããã¾ãããåæ§ã«èª¿ã¹ã¦ã¿ãã¨ããã¦ã³ãã¼ããããã®ãä¿åãã¦ããããã®ãã©ã«ãã¯~/Downloads/
ã¨ãUSBãªã©ã®å¤é¨ã¡ãã£ã¢ã¯/media/removable/USBã¡ã¢ãªã®å称/
ã¨å½åããã¦ãããã¨ããããã¾ããã
ããã¾ã§ç¢ºèªã§ããããChromebook ãåèµ·åãã¾ãã
åèµ·åå¾ããµããã³ CDE ãèµ·åãã¾ããå·¦å´ã®ããã«ã«æ³¨ç®ãã¦ãã ããã å ã»ã© Clone ããããã¸ã§ã¯ããã©ã«ãã表示ããã¦ããªããã¨ã¨æãã¾ããããã§ã¯ãããä¸åº¦ãã©ã«ããæå®ãã¦éãã¦ã¿ã¾ãããã横ä¸æ¬ç·ãã¿ã³ãã¯ãªãã¯ãã¦ãOpen Folder...ããé¸æãã¦ãããã¸ã§ã¯ããéãã¾ãã
ãã©ã«ããèªã¿è¾¼ã¾ãã¦ä¸ä»¶è½çãã¨æããããåèµ·ååã«ã¯ãªãã£ããéãå°ããããã¸ã§ã¯ãå ã®ãã¹ã¦ã®ãã¡ã¤ã«ã«ä»ãã¦ãããã¨ã«æ°ã¥ãã¨æãã¾ãããã®å°ã¯ããã¡ã¤ã«ã®å 容ãå¤æ´ãããæã«è¡¨ç¤ºããããã®ã§ãGit add ã Git commit ããå¿ è¦ããããã¨ãç¥ããã¦ãã¾ãã
ãããä»åã®å ´åã¯ãåã«åèµ·åãããã ãã§ãã¡ã¤ã«ã®ä¸èº«ããã¡ã¤ã«åã¯å
¨ãå¤æ´ãã¦ãã¾ããããªããã®ãã¼ã¯ã表示ããã¦ãã¾ã£ãã®ã§ããããï¼
ããã§ã¯ãOSãèµ·åãããã³ã«ãã¹ã¦ã®ããã¸ã§ã¯ãã®ãã¹ã¦ã®branchã«ããã㦠Git add ããªããã°ãªãããããªã大å¤ã§ãããã£ããé»æºãåããªããªã£ã¦ãã¾ãã¾ãã
ãããã«ããã©ã«ãåãå³ã¯ãªãã¯ãã¦ãProperties...ãã確èªãã¦ã¿ã¾ãã
ä¾ã®ã©ã³ãã ãªå¤ãå«ãã¦ããã©ã«ãã®ãã¹ã¯ä½ãå¤æ´ããã¦ããªããã¨ããããã¾ããã
åé¿ç
ãã®ãããªç¾è±¡ãåé¿ããããã«ãåã¯ç¾æç¹ã§ã¯ä»¥ä¸ã®ããã«ãã¦å¯¾å¿ãã¦ãã¾ãã
- Chrome Dev Editor ã® Root Directory ã ããã¦ã³ãã¼ããããã®ãä¿åãã¦ããããã®ãã©ã«ãï¼
~/Downloads/
ï¼ãã¾ãã¯ãUSBãªã©ã®å¤é¨ã¡ãã£ã¢ï¼/media/removable/ã¡ãã£ã¢ã®å称/
ï¼ãã«ããã - Git ããã¸ã§ã¯ãã¯Google Driveï¼ã¨åæããã¦ãããã©ã«ãï¼å ã§ã¯ãªããä¸è¨ã®å ´æã« Clone ããã
ãã®æ¹æ³ã§ã¨ããããã¯åé¡ãªãéçºä½æ¥ã¯è¡ãã¾ãããã大åãªãã¼ã¿ã¯ã¤ãã«ã¯ã©ã¦ãã¹ãã¬ã¼ã¸ã¨åæããã¦ããã®ã§ãPCæ¬ä½ãå£ãã¦ãOKã§ãUSBã¡ã¢ãªãä¸è¦ï¼ã㯠Chromebook ã®æ大ã®ç¹é·ã ã¨æãã®ã§ãæ¹åããããã¨ãæå¾ ãã¦ãã¾ãï¼
æ¤è¨¼ãã CDE ã®ãã¼ã¸ã§ã³
ä»åç´¹ä»ããäºè±¡ã¯ä»å¾ã®ã¢ãããã¼ãã«ãã解æ¶ãããããããã¾ããã