ãã£ã¦ã¿ãçç± å»å¹´ã®PCK(ãã½ã³ã³ç²åå)ã§ä½ã£ãã¢ããªããµãã¿ãããã§ãµã¼ãã¼å´ã¨ãã¦Flaskã¢ããªã±ã¼ã·ã§ã³ãå®è£
ãã¾ãã. ãã®æã¯, uWSGIãnginxã¯ååã ãç¥ã£ã¦ããç¶æ
ã§PCKæ¬çªãFlaskã®runã¡ã½ããã§åããã¦ãã¾ãã. â»Flaskã®runã¡ã½ããã¯éçºã§ä½¿ããã®ã§, å®éã«ãµã¼ãã¹ãæä¾ããããã®ãã®ã§ã¯ãªãããã§ã. åæ¥å¤ã¨æ¬çªä¸, ãµã¼ãã¼ã®ã¡ã¢ãªä½¿ç¨çãççºãã¦æ°ååéãµã¼ãã¼ã«ã¢ã¯ã»ã¹ã§ããªãäºæ
ãèµ·ã, ä»å¾ãããåé¿ãããã uwsgi + nginx ã§ã®åããæ¹ã«ææ¦ãã¦ã¿ã¾ãã. ç°å¢æ§ç¯ åºæ¬ç°å¢ : VMware, Ubuntu 16.04 ã¤ã³ã¹ãã¼ã«ãããã® sudo pip3 install flask uwsgi sudo apt-get install nginx ãã£ã¬ã¯ããªã®ä½æ mkdir ~/python/fl
{{#tags}}- {{label}}
{{/tags}}