Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ãã£ãï¼ãã¶ãï¼Twitterã§è¦ããã¦è§¦ã£ã¦ã¿ã Nitrous.IOã¨ãããµã¤ãã PaaSã£ã¦è¨ãã®ï¼ Herokuã¿ãããªãµã¼ãã¹ã§ Ruby/Rails, Python/Django, Go, Node.JS ã使ããã ã§ãé¢ç½ãã®ã¯ WebIDE ãä»ãã¦ãã¦ãWebä¸ã§ã³ãã³ãå ¥åãããã¡ã¤ã«ã®ç·¨éãç»é²ããå人ã¨ã®ãã£ããã¾ã§å¯è½ã ã¨ãããã Djangoã®ãã¥ã¼ããªã¢ã«ããã¼ã¿ãã¼ã¹ä½æããæã¾ã§ãã£ã¦ã¿ãã®ã§ã¡ã¢ã ã¾ã㯠Nitrous.IO㧠Sing Upã Nitrous.IO ããã¯ã¦ã¼ã¶åãã¡ã¼ã«ã¢ãã¬ã¹ããã¹ã¯ã¼ããå ¥åãã¦ãSign UP for Freeããã¯ãªãã¯ããã° OKã å¾ã¯ã¡ã¼ã«ã¢ãã¬ã¹ã«ç¢ºèªã¡ã¼ã«ãå±ãã®ã§ããªã³ã¯ãã¯ãªãã¯ããã°ã¦ã¼ã¶ç»é²å®äºã 表示ããããGetting Started on Nitrous.IOããä¸éãèªãã°å¤§
æè¿ãï½µï¾ï¾ï¼¼(^o^)ï¼ãã§æåãªDjangoãã触ã£ã¦ãªããã¡äººéã§ãã ããã«ã¡ã¯ã Djangoã¨ãã©ãã§ãããããªã Webãã¬ã¼ã ã¯ã¼ã¯ã¨ãããã©ãããããªã ã¨ããæè¿ãªã®ã§Dã¤ãªããã§Decoratorã®è©±ããã¾ãã ãã¦ã§ã¤ã³ã°ãªPythonistaã®ããããªè©±é¡ã¯GCã®åç §ã«ã¦ã³ã¿ã ã§ã¯ãªãã¦Flaskã¨ããããããªãã§ããã @app.route("/") def hello(): return "Hello World!" ããã¤ãå¤åã«æ¼ããDecoratorã使ãã¾ãã Djangoã§ãã @require_GET ã¨ã @require_POST ã¨ã使ã£ããè¦ããã¨ãããããããªããã¨æãã¾ãã ã§ãæå¤ã¨éæ³ã£ã½ããã³ã¬ã¼ã¿ã§ããã ããã£ã¦ãã£ããã©ããªã£ã¦ãã®ï¼ ã£ã¦äºãç¥ããªã人ãå²ã¨ããããã¾ãã ãã¨ããããæå®ããã£ã¦è¨ãããããæå®ãã¦ã¾ã
å大ãªäººæ±ã â ããâ ãã㮠解決ï¼XREAã§CGIçPythonã使ã£ã¦djangoãåããï¼äººæ±ï¼ï¼ ã®è¨äºãå ¨ã¦ã§ãã ï¼å¹´åçµã£ã¦ããã©ç¶æ³å¤ãã£ã¦ãªãã§ãããã£ã¦ãªãããã®æå³ã§è¼ãã¦ããã¾ãã åæ XREAææã¦ã¼ã¶ï¼Pythonãcgiã§ä½¿ç¨ãSSHæ¥ç¶å¯ãï¼ MySQLã使ç¨ã ~/binã«PATHãéã ã¦ã¼ã¶ãã¼ã (/virtual/yourname)ã®ç´ä¸ã«binãã£ã¬ã¯ããªãä½æãã¾ãã yourname@server ~ $ mkdir bin ~/binãåå¨ããã¨èªåçã«PATHãéãããã«è¨å®ããã¦ãã¾ãã®ã§ãã°ã¤ã³ãç´ãã¨PATHãéã£ã¦ããã¯ãã§ãã yourname@server ~ $ echo $PATH /virtual/yourname/bin:/usr/local/bin: ...snip... éã£ã¦ãªãã£ãã.
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}