ã»ãšãã©ãã¹ãŠã®äººã¯ãExcelã®ããŒãã«ã®äœ¿çšããã¯ã©ã€ã¢ã³ããã³ãã³ã°ã¢ããªã±ãŒã·ã§ã³ã§ã®ããŒã¿ã®æäœãŸã§ãããããçš®é¡ã®äŒèšãããŒã¿åéãåæã«çŽé¢ããŠããŸãã ããŸããŸãªããŒã¿ããŒã¹ç®¡çã·ã¹ãã ïŒDBMSïŒãªã©ã®äŒèšã«åºã䜿çšãããŠããŸãã
ãã®èšäºã§ã¯ããã®ãããªã·ã¹ãã ãèŠã€ããæ¹æ³ã«ã€ããŠã話ããããšæããŸãã
ãŠãŒã¶ãŒã®èŠ³ç¹ãããé¡äŒŒã®DBMSïŒã¯ã©ã€ã¢ã³ããã³ã¯ãFSZNã·ã¹ãã ãçŸé決æžã¢ããªã±ãŒã·ã§ã³ïŒã«çŽé¢ããŠãç§ã¯åžžã«ãååãªè²¡åèœåãåãã倧äŒæ¥ã§ãããã¢ããªã±ãŒã·ã§ã³ã«æ¬åœã«äŸ¿å©ãªã€ã³ã¿ãŒãã§ã€ã¹ãå®è£ ã§ããªãããšãå€ãã®ã§ã¯ãªãããšãã€ãæã£ãŠããŸããã
æããã«ãã¢ããªã±ãŒã·ã§ã³ã€ã³ã¿ãŒãã§ã€ã¹ã䟿å©ã§ããããã«ã¯ãããŒã¿ã«å¯Ÿããäžé£ã®æšæºæäœã®ç¶¿å¯ãªå®è£ ã«åºã¥ããŠéçºããå¿ èŠããããŸãã ãã®ãããªåºç€ããªããšããœãããŠã§ã¢è£œåã®å質ã«æªåœ±é¿ãåãŒããããœãããŠã§ã¢è£œåã®éçºæéãå€§å¹ ã«é·ããªããŸãã
1CïŒãšã³ã¿ãŒãã©ã€ãº
2003幎ã«ãããããçš®é¡ã®ã¢ã«ãŠã³ãã£ã³ã°ã®ã¢ããªã±ãŒã·ã§ã³ãå¿ èŠã«ãªã£ããšãã«ã1Cã®æ§æãäœæããŸããã
åœæããã®ã¢ãããŒãã§ã¯ãã¹ãŠãããŸããããŸããã ãããããã°ããããŠãäŒèšã·ã¹ãã ãžã®ãããã¯ãŒã¯ã¢ã¯ã»ã¹ã®å¿ èŠæ§ã«çŽé¢ããŸããã ãµãŒããŒããŒã1Cã®äŸ¡æ ŒãåæããåŸãç§ã«ãšã£ãŠã¯äŸ¡æ Œãé«ãããããšã«æ°ã¥ãã代æ¿æ段ãã§ããã°ç¡æã®ãªãŒãã³ãœãŒã¹ãæ¢ãå§ããŸããã
Django管çè
ã¬ãã¥ãŒãåæããã³èª¿æ»ããåŸã管çã€ã³ã¿ãŒãã§ã€ã¹ãžã§ãã¬ãŒã¿ãŒãåããDjangoãã¬ãŒã ã¯ãŒã¯ãéžæããŸããã åæã«ã1Cã«åã蟌ãŸããã¢ã€ãã¢ã®äžéšãPythonã³ãŒãã«è»¢éããå¿ èŠããããŸããã çµæã¯ãã»ãŒæ¬¡ã®ã€ã³ã¿ãŒãã§ã€ã¹ã«ãªããŸããã
ãã ãã倧éã®ããŒã¿ã§ã¯ããã®ã¢ãããŒãã®æ¬ ç¹ãçŸãå§ããŸããã
ãŸããDjango Adminã€ã³ã¿ãŒãã§ãŒã¹ã®æ©èœã¯éåžžã«éãããŠãããããDjangoã§æäŸãããŠããªãæ©èœãå¿ èŠãªå Žåãäœæã®å©äŸ¿æ§ãç¡é§ã«ãªããŸãã ãã®å ŽåãDjangoã³ãŒãã調ã¹ãŠãã³ãŒããåã蟌ã¿ãã¯ã©ã¹ãç¶æ¿ãããã³ãã¬ãŒããããçŽãããšãã§ããå Žæãæ¢ãå¿ èŠããããŸãã ãã®ãããªå€æŽã¯æ¬è³ªçã«éäœç³»çã§ããããã°ããããŠãããããã«æ»ã£ãŠåäœãèŠããã®ã¯å°é£ã§ãïŒç¹ã«ãDjangoã®æ¬¡ã®ããŒãžã§ã³ãæŽæ°ããåŸã«è¡ãå¿ èŠããããŸãïŒã
第äºã«ãDjango Adminã«ãã£ãŠäœæãããã€ã³ã¿ãŒãã§ã€ã¹ãæäœããããšã¯ååã«äŸ¿å©ã§ã¯ãªããããŒã¿å ¥åã¯å°é£ã§å¹ççã§ã¯ãããŸããã§ããã ããŒã¿ãéä¿¡ããããã³ã«ã€ã³ã¿ãŒãã§ãŒã¹ãããŒãžããªãŒããŒããŒããããAjaxãWebSocketãªã©ã®ãã¯ãããžãŒã䜿çšããããã«ãå°ãªããšã1Cã¬ãã«ã§ã®å¯Ÿè©±æ§ãå¿ èŠã§ããã
MySQLãNavicatãªã©
ãã®çµæãDjango Adminã¢ãžã¥ãŒã«ã®äœ¿çšãå®å šã«æŸæ£ããäžèšã®æè¡ã䜿çšããŠJavaScriptã§ã¯ã©ã€ã¢ã³ãéšåãèªåã§èšè¿°ããå¿ èŠããããŸããã ãããã£ãŠã察話æ§ã®åé¡ã¯è§£æ±ºãããŸããããã€ã³ã¿ãŒãã§ãŒã¹ã®äœæã«ããã£ãæéã¯äžåœã«é·ããªããŸããã æãšããŠãæéãç¯çŽããããã«ãNavicatã®åœ¢åŒã®ã¯ã©ã€ã¢ã³ãéšåã§çŽç²ãªMysqlã䜿çšããŠããŒã¿ãåéããã³åæããŸããã å€æããããã«ãããªã¬ãŒãšãã¥ãŒã®ãããã§ãããã¯æªã解決çã§ã¯ãªããèšå€§ãªæ°ã®ã¿ã¹ã¯ããã®æ¹æ³ã§éåžžã«ç°¡åã«è§£æ±ºãããŸãïŒWikipediaã«ãããšãMysqlã¯ãã®ãããªåé¡ã解決ããããã«æåã«äœæãããããã§ãïŒã
æé©ãªDBMSéçºããŒã«ã®åºæº
æéãçµã€ã«ã€ããŠãDBMSãéçºããããã®ããŒã«ã«å¯Ÿãã䞻芳çãªåžæã®ãªã¹ããèªåã§äœæããŸããã 圌ã¯ïŒ
- ã¢ãã«ã«åºã¥ããŠããŒã¿ãæäœããããã®ã€ã³ã¿ãŒãã§ã€ã¹ãè¿ éãã€èªåçã«äœæã§ããŸãã
- ãªããžã§ã¯ãå士ã®çžäºäœçšã®ã¡ã«ããºã ã ãã§ãªãããããã®çžäºäœçšãã€ã³ã¿ãŒãã§ãŒã¹ã«è¡šç€ºããã¡ã«ããºã ãææ¡ããŸãã
- éžæè¢ãæäŸããïŒã€ã³ã¿ãŒãã§ã€ã¹ãŸãã¯ãã®äžéšãããé«éã«ïŒãã ãæè»æ§ã¯äœãïŒãŸãã¯ããæ©èœçã«ïŒãã ãäœéã«ïŒéçºããŸãã
- ããŸããŸãªããŒã¿ãœãŒã¹ãæäœããŸãã
- ãŠã§ãæè¡ã«åºã¥ããŠãã¯ãã¹ãã©ãããã©ãŒã ã§ããããªãŒãã³ãœãŒã¹ãæã£ãŠããŸãã
ãããã®èŠä»¶ãæºãããã®ã¯èŠã€ãããŸããã§ããã ãããã£ãŠãã¿ã¹ã¯ã解決ããç¬èªã®ãã¬ãŒã ã¯ãŒã¯ãäœæããããšã«ããŸããã TypeScriptãšAngular2ãäž»èŠãªãã¯ãããžãŒãšããŠéžæãããŸããã åæã«ããã¬ãŒã ã¯ãŒã¯ã¯ãAngularã䜿çšããã ãã§ãªããä»ã®JavaScriptã©ã€ãã©ãªã䜿çšããã¢ããªã±ãŒã·ã§ã³ã®éçºã«ã䜿çšã§ããããã«èšèšãããŸããã ç§ã¯äœãèµ·ãã£ãããå ±æããããšæããŸãïŒå€å誰ãã圹ã«ç«ã€ã§ãããã
æ°ãããã¬ãŒã ã¯ãŒã¯ã®æ§é
ãã¬ãŒã ã¯ãŒã¯ã¯ãDBMSã®ã€ã³ã¿ãŒãã§ã€ã¹ã®è¿ éãªäœæã«çŠç¹ãåœãŠãŠããŸãã ããã€ãã®éšåïŒã¢ãžã¥ãŒã«ïŒã§æ§æãããŠããŸãã äžéšã¯åå¥ã«äœ¿çšã§ããäžéšã¯ä»ãšã®ã¿äœ¿çšã§ããŸãã
ã³ã¢ã¢ãžã¥ãŒã«ã«ã¯ãã¢ãã«ãèšè¿°ããã¡ã«ããºã ãããŒã¿ãªããžã§ã¯ãïŒã¬ã³ãŒãïŒã®çžäºäœçšãããã³ããŒã¿ããŒã¹ã¯ãšãªãèšè¿°ããã¡ã«ããºã ãå«ãŸããŠããŸãã ã³ã¢ã¢ãžã¥ãŒã«ã¯ãããã¯ãšã³ãã¢ãžã¥ãŒã«ãä»ããŠããŒã¿ãœãŒã¹ã«ã¢ã¯ã»ã¹ããŸãã
ããã¯ãšã³ãã¢ãžã¥ãŒã«ã¯ãã³ã¢ã¢ãžã¥ãŒã«ãšããŒã¿ã®ããŒã¿ããŒã¹ïŒãœãŒã¹ïŒã®éã®ã¬ã€ã€ãŒã§ãã ããŒã¿ãœãŒã¹ã¯ãSQLãªã©ã®ããŒã¿ããŒã¹ãµãŒããŒèªäœããŸãã¯DjangoãSequelizeãªã©ã®ä»ã®ãã¬ãŒã ã¯ãŒã¯ã®ã¢ãã«ã«ã¢ã¯ã»ã¹ããããã®ã¬ã€ã€ãŒã®ããããã§ãã
model-uiã¢ãžã¥ãŒã«ã¯ãã€ã³ã¿ãŒãã§ãŒã¹ã®çæãæ åœããŸããuiã¢ãžã¥ãŒã«ãæäŸããã³ã³ãããŒã«ã䜿çšããŠãã³ã¢ã¢ãžã¥ãŒã«ãæäŸããããŒã¿ãèŠèŠåããŸãã
uiã¢ãžã¥ãŒã«ã«ã¯ãmodel-uiã¢ãžã¥ãŒã«ãã€ã³ã¿ãŒãã§ã€ã¹ãçæããããã«äœ¿çšããåºæ¬çãªã³ã³ãããŒã«ãå«ãŸããŠããŸãã ãããã®èŠçŽ ã¯ããã¬ãŒã ã¯ãŒã¯ããç¬ç«ããŠäœ¿çšããããšãã§ããŸãã
windows-managerã¢ãžã¥ãŒã«ã¯ããŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ã衚瀺ããããã®ã³ã³ãããŒã管çããŸãã WindowsãããŒãžã£ãŒã®çš®é¡ã«å¿ããŠãã¢ããªã±ãŒã·ã§ã³ã¯ã³ã³ãã¥ãŒã¿ãŒãšã¢ãã€ã«ããã€ã¹ã®äž¡æ¹ã«å±éã§ããŸãã
ã¢ãã«ãšããŒã¿æäœ
ãã¬ãŒã ã¯ãŒã¯ã®æ©èœã¯ãåãDjangoãšã¯ç°ãªããã¬ã³ãŒãã®ãªã¹ããšã¬ã³ãŒãèªäœãèšè¿°ããããã«ç°ãªãã¿ã€ãã®ã¢ãã«ã䜿çšãããããšã§ãïŒ ListModelãšRecordModel ã ãã®ã¢ãããŒãã«ããã1ã€ã®ã¬ã³ãŒãã ãã§ãªããç°ãªãã¢ãã«ã®ã¬ã³ãŒããããã³ç·šéäžå¯èœãªè¡ïŒããšãã°ããããã®ã¬ã³ãŒãã«å¯Ÿããäœæ¥ã®çµæïŒã®ãªã¹ãã«ã¬ã³ãŒãã衚瀺ã§ããŸãã
ãã¬ãŒã ã¯ãŒã¯ã«ã¯ããã«å¿ èŠãªã¡ã«ããºã ãå«ãŸããŠããŸãããã¢ããªã±ãŒã·ã§ã³éçºäžã«ã¢ãã«ãèšè¿°ããå¿ èŠã¯ãããŸããã ããã¯ãšã³ãã¢ãžã¥ãŒã«ã¯ãæ¢ã«ååšããä»ã®ç°å¢ïŒDjangoãSequelizeãSQLãªã©ïŒã§èšè¿°ãããŠãããã®ã«åºã¥ããŠå éšã¢ãã«ãèªåçã«çæããŸãã
ãã®ãã¬ãŒã ã¯ãŒã¯ã¯ãDjangoã§ã®äœæ¥ãšé¡äŒŒããŠããŸãã ããšãã°ãéžæãšã¯ãšãªïŒ QuerySetãšQuery ïŒãæäœããããã®ã¯ã©ã¹ã¯ãPythonã³ãŒãããTypeScriptã³ãŒãã«é©å¿ããåãååã®Djangoã¯ã©ã¹ãšåçã§ãã ããšãã°ãããŒã¿ãœãŒã¹ããããŒã¿ãååŸããã«ã¯ãããã次ã®ã³ãŒããèšè¿°ããå¿ èŠããããŸãã
backend .getListModel('product') .getQueryset() .filter({name__icontains: ''}) .orderBy('-price') .limit(0,10) .getRows() .subscribe(products => {âŠ});
ãã¬ãŒã ã¯ãŒã¯ã®ãã1ã€ã®ç¹åŸŽçãªæ©èœã¯ãä»®æ³ãã£ãŒã«ãã®ãµããŒãã§ãã ä»®æ³ãã£ãŒã«ããå€æŽããããšããªããžã§ã¯ãã®å®ãã£ãŒã«ããå€æŽãããå®ãã£ãŒã«ãã®å€ãå€æŽããããšãä»®æ³ãã£ãŒã«ããå€æŽãããŸãã Djangoã«ãåæ§ã®ããšããããŸãããªããžã§ã¯ããä»ããŠããã®ãªããžã§ã¯ãã§å©çšå¯èœãªåœ¢åŒã§ããŒã¿ããŒã¹ã«ä¿åãããŠããªãããŒã¿ã«ã¢ã¯ã»ã¹ããå Žå-xxxxxx_setããããã£ãä»ããŠãªããžã§ã¯ããåç §ããä»ã®ãªããžã§ã¯ããååŸãããããã®ãªããžã§ã¯ãã®IDã®ã¿ãããŒã¿ããŒã¹ã«ä¿åãããŠããå Žåã®ããããã£ãä»ãããªããžã§ã¯ãã
次ã®å³ã§ã¯ã product_idãã£ãŒã«ããšproduct_nameãã£ãŒã«ãã¯å®åšãã productãã£ãŒã«ãã¯ä»®æ³ã§ãã
ãã¬ãŒã ã¯ãŒã¯ã¯ãäŸåã¬ã³ãŒãã®é 延èªã¿èŸŒã¿ããå®è£ ããŸãã Djangoãšã¯ç°ãªããããã§éçºè ã¯ãã®å Žåããã®ã¡ã«ããºã ãé©çšããã«ãããã«ããŒã¿ãåä¿¡ããã»ãããããããã¯ã©ã€ã¢ã³ããšãµãŒããŒéã®ãªã¯ãšã¹ãã®æ°ãæžããããšãã§ããŸãã ãããã£ãŠãäžèšã®äŸã§ã¯ã補åproductã«ã¯ãµãã©ã€ã€ãŒãåç §ãããµãã©ã€ã€ãŒãã£ãŒã«ãããããŸãã ããã©ã«ãã§ã¯ã 補å['supplier']ãã£ãŒã«ãã«ã¢ã¯ã»ã¹ããå Žåã«ã®ã¿ãããŒã¿ããŒã¹ãããµãã©ã€ã€ãèŠæ±ãããŸãã ãã ããäžèšã®äŸã次ã®ããã«å€æŽããå ŽåïŒ ... getRowsïŒ 'supplier'ïŒãSubscribeïŒproducts => {...}ïŒ; -補åãªã¹ãã®å補åã«ã¯ãã§ã«ãµãã©ã€ã€ã«é¢ããããŒã¿ãå«ãŸããŠããããããã«ã¢ã¯ã»ã¹ãããšããããŒã¿ããŒã¹ãžã®ã¯ãšãªã¯ãããŸããã
ã€ã³ã¿ãŒãã§ãŒã¹
ã¢ããªã±ãŒã·ã§ã³éçºãå éããããã«ããã®ãã¬ãŒã ã¯ãŒã¯ã§ã¯ãmodel-uiããã³uiã¢ãžã¥ãŒã«ã«åºã¥ããçµã¿èŸŒã¿ã€ã³ã¿ãŒãã§ãŒã¹ã䜿çšã§ããŸãã ããã¯ãç¹å®ã®ã€ã³ã¿ãŒãã§ã€ã¹ãäžèŠãªå ŽåããŸãã¯ã¢ããªã±ãŒã·ã§ã³ãã§ããã ãè¿ éã«å±éããå¿ èŠãããå Žåã«äŸ¿å©ã§ãã ãã ãããããã®ã¢ãžã¥ãŒã«ãæŸæ£ãããšãä»»æã®ã€ã³ã¿ãŒãã§ã€ã¹ã䜿çšã§ããŸãïŒããšãã°ãBootstrapãŸãã¯Angular Materialã«åºã¥ããŠäœæãããŸãïŒã
æšæºã€ã³ã¿ãŒãã§ã€ã¹ã®ãã¹ãŠã®ããŒã¿å ¥åã³ã³ãããŒã«ã¯ããã©ãŒã ãšããŒãã«ã»ã«ã®äž¡æ¹ã§äœ¿çšã§ããããã«äœæãããŠããŸãã èŠçŽ ã«ã¯ãããŒã¿ã®æäœãç°¡çŽ åããããããã£ãåãã£ãŠããŸãã ããšãã°ãããã¹ããã£ãŒã«ãã¯æ¬¡ã®ããã«ãªããŸãã
æ¡åŒµãã¿ã³ãã¯ãªãã¯ãããšãæ¡å€§ãããå ¥åãã£ãŒã«ããéããŸããããã¯ãå ¥åãã£ãŒã«ãã®å¹ ãããã«é 眮ãããããã¹ããããå°ããå Žåã«äŸ¿å©ã§ãã ãã®ãããªç¶æ³ã¯ãèŠçŽ ããã©ãŒã äžã«å¯éããŠé 眮ãããŠããå ŽåããŸãã¯ããŒãã«ã®åœ¢åŒã§ããŒã¿ãç·šéããŠããå Žåã«çºçããå¯èœæ§ããããŸãã
æ°å€ã®å ¥åãã£ãŒã«ããæ€èšããå Žåã¯ãæ°å€èªäœã«å ããŠããã®äžã«æ°åŒãå ¥åã§ããŸãã
å¥ã®ãªããžã§ã¯ãã®éžæãã£ãŒã«ãã«ã¯ãããã€ãã®å ¥åã¡ãœããããããŸããåèªã®åºçŸã«å¿ããŠããããããŠã³ãªã¹ãããããŸãã¯å¥ã®ãããã¢ãããã©ãŒã ãããªããžã§ã¯ããéžæã§ããŸãã
誀ã£ãå ¥åã®ãšã©ãŒã«ã€ããŠã¯ãã³ã³ãããŒã«äžã®ããã¹ãã§ã¯ãªããç¹å¥ãªããŒã«ãŒã§è¡šç€ºãããŸãã ãã®ã¢ãããŒãã«ããããã©ãŒã èŠçŽ ã®å¯åºŠãç¶æãããšã©ãŒã®å°åºã«ãããŠãã®äœçœ®ãå€æŽããããšã¯ã§ããŸããã ãã®ã³ã³ãããŒã«ã䜿çšããããŒãã«ã»ã«ã®ãšã©ãŒãåæ§ã«è¡šç€ºãããŸãã
ããŒã¿ãžã®ã€ã³ã¿ãŒãã§ãŒã¹
ãã¬ãŒã ã¯ãŒã¯ã§ã¯ãã¬ã³ãŒãïŒãªããžã§ã¯ãïŒã®çžäºäœçšã«å€ãã®æ³šæãæãããŸãã
ãã©ãŒã äžã®ã¬ã³ãŒããå€æŽãããšããªã¹ãå ã®ã¬ã³ãŒããèªåçã«æŽæ°ãããŸãã
ã¬ã³ãŒããç°ãªãã³ã³ãã¥ãŒã¿ãŒããåæã«ç·šéãããå ŽåããŠãŒã¶ãŒã¯èŠåãåãåããŸãã
ãã¬ãŒã ã¯ãŒã¯ã€ã³ã¿ãŒãã§ã€ã¹ã¯ãäŸåã¬ã³ãŒãã®è¡ããœãŒãããããã®ã¡ã«ããºã ãå®è£ ããŸãïŒã¢ãã«ãšããã¯ãšã³ãã¢ãžã¥ãŒã«ã«ãã£ãŠæäŸãããå ŽåïŒã
æå®ãããã€ã³ã¿ãŒãã§ã€ã¹èŠçŽ ã®äŸã¯ããã¬ãŒã ã¯ãŒã¯ã«åã蟌ãŸããŠãããã®ã®ã»ãã®äžéšã§ãã ã€ã³ã¿ãŒãã§ã€ã¹ã®ãã¹ãŠã®èŠçŽ ãšååã®ãã詳现ãªèª¬æã¯ãåã ã®èšäºã®ãããã¯ã§ãã ãŸããã€ã³ã¿ãŒãã§ã€ã¹ã®æå®ãããäŸã課ãããã®ã§ã¯ãªããåºç€ãšããŠã®ã¿æäŸãããéçºè ã®è£éã§ã«ã¹ã¿ãã€ãºã§ããããšãç¹°ãè¿ã䟡å€ããããŸãã
ä»åŸã®èšç»
ãã¬ãŒã ã¯ãŒã¯ã«ã¯ãç§ãèŠããã£ãäž»ãªæ©èœãå«ãŸããŠããŸãã ããã¯å®å šã«åäœããŸãããããã§ããçŸåšã®æ®µéã§ã¯ãæŠå¿µã®ã¿ãšåŒã³ãŸãã
ãã®ãããããšãã°ãçŸæç¹ã§ã¯ããã¬ãŒã ã¯ãŒã¯ãMySQLããŒã¿ããŒã¹ã§ã®ã¿åäœããããšãèš±å¯ããããã¯ãšã³ãããããŸãããã®ãããElectronã§ã®ã¿å®è¡ã§ããŸãã ãŸããã¢ãã€ã«ããã€ã¹ã§åäœããããã®ã€ã³ã¿ãŒãã§ã€ã¹ããã®ä»ã®å€ãã®æ©èœã¯å®è£ ãããŠããŸããã
ãã¬ãŒã ã¯ãŒã¯ã®éçºã®ããã®æãè¿ãèšç»ïŒ
- Queryã¯ã©ã¹ã®ã¯ãšãªã«çµåããã³ã°ã«ãŒãåã¡ã«ããºã ãå®è£ ããŸãã
- é¢é£ä»ãããã³ã°ã«ãŒãåãæäœããããã®ã³ã³ãããŒã«ãè¿œå ããŸãã
- Queryãªããžã§ã¯ããjsonãŸãã¯xmlã«å€æããããã¯ãšã³ããéçºããDjangoã¢ãã«ãæäœããããã®ãµãŒããŒåŽãéçºããŸãã
- ããŒã¿ãµãŒããŒãžã®èŠæ±ããã£ãã·ã¥ããããã®ã¡ã«ããºã ãå®è£ ããŸãã
- ä»ã®å€ãã®ã¢ã€ãã¢ãå®çŸããŸãã
ã©ããã£ãŠè©ŠãïŒ
äœæ¥äžã®ãã¬ãŒã ã¯ãŒã¯ãè©ŠããŠã¿ããå Žåã¯ããã¬ãŒã ã¯ãŒã¯ã«èšè¿°ãããã¢ããªã±ãŒã·ã§ã³ã®äŸãèŠãããšãã§ããŸãã 次ã®ããã«ã€ã³ã¹ããŒã«ã§ããŸãã
git clone https://github.com/astoniocom/astonio-demo.git
次ã«ãäŸåé¢ä¿ãã€ã³ã¹ããŒã«ããå¿ èŠããããŸãã
npm install
次ã«ãapp.module.tsãã¡ã€ã«ãéããŠãMySQLããŒã¿ããŒã¹ãžã®ã¢ã¯ã»ã¹ãæ§æããã¢ããªã±ãŒã·ã§ã³ãã³ã³ãã€ã«ããŸãã
npm run watch
次ã®ã³ãã³ãã§å®è¡ããŸãïŒ
npm run app
ãã®ãã¬ãŒã ã¯ãŒã¯ã¯githubã§å ¥æã§ããŸãã
ãã¬ãŒã ã¯ãŒã¯ã«åºã¥ããŠã¢ããªã±ãŒã·ã§ã³ãäœæããæé
åºæ¬çãªéçºã³ã³ã»ãããå®è£ ããããããè€éãªã¢ããªã±ãŒã·ã§ã³ã®äŸã¯ãã¡ãã§ã ïŒREADME.mdãã¡ã€ã«ã®ã€ã³ã¹ããŒã«æé ïŒã