Dropboxwsgi.

WSGI ȣȯ HTTP ÀÎÅÍÆäÀ̽º Dropbox
Áö±Ý ´Ù¿î·Îµå

Dropboxwsgi. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • MIT/X Consortium Lic...
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Rian Hunter
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • https://github.com/rianhunter/

Dropboxwsgi. ű×


Dropboxwsgi. ¼³¸í

DropBoxWSGI´Â HTTP ÀÎÅÍÆäÀ̽º¸¦ Dropbox API¿¡ ±¸ÇöÇÏ´Â WSGI ÀÀ¿ë ÇÁ·Î±×·¥À» Á¦°øÇÏ´Â ÆÄÀ̽ã ÆÐÅ°ÁöÀÔ´Ï´Ù. ÀÌ ÆÐÅ°Áö¿¡´Â dropboxwsgi¶ó°íµµÇÏ´Â ¼­¹ö ÀÀ¿ë ÇÁ·Î±×·¥ÀÌ Æ÷ÇԵǾî ÀÖÀ¸¹Ç·Î ¸í·É ÁÙ¿¡¼­ WSGI ÀÀ¿ë ÇÁ·Î±×·¥À» ½ÇÇàÇÕ´Ï´Ù. ÀÌ°ÍÀº Dropbox¿¡¼­ À¥ »çÀÌÆ®¸¦ Á¦°øÇÏ´Â »óȲ¿¡¼­ À¯¿ëÇÕ´Ï´Ù. ...¿¡ ÀÌ°ÍÀ» ¼­¹ö¿¡ Dropbox µ¥½ºÅ©Å¾ Ŭ¶óÀ̾ðÆ®¸¦ ¸µÅ©ÇÏ°í Dropbox Æú´õ¿¡¼­ »ç¿ëÇÏ´Â ÇöÀç ¼Ö·ç¼Ç°ú ºñ±³ÇϽʽÿÀ.ÀÌ ÆÐÅ°Áö¿¡´Â DropBox API¿¡¼­ µ¥ÀÌÅ͸¦ ·ÎÄà µð½ºÅ© (¶Ç´Â Á¦°øÇÏ´Â ½ºÅ丮Áö ±¸Çö)¿¡ µ¥ÀÌÅ͸¦ ij½ÃÇϴ ij½Ì ¹Ìµé¿þ¾îµµ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù. ÀÌ ÆÐÅ°Áö´Â ¼­¹ö¿Í dropbox °£ÀÇ Áߺ¹ µ¥ÀÌÅÍ Àü¼ÛÀ» Á¦°ÅÇÕ´Ï´Ù.ÀÌ ÆÐÅ°Áö´Â ÆÄÀ̽ã 3À» Áö¿øÇÕ´Ï´Ù. Yay! ¼³Ä¡ ¼³Ä¡´Â ½±°í Àç¹Ì ÀÖ½À´Ï´Ù. Python Setup.py InstallServer ÀÀ¿ë ÇÁ·Î±×·¥ UsagedRopBoxWSGI´Â ¼­¹ö ÀÀ¿ë ÇÁ·Î±×·¥°ú ¶óÀ̺귯¸®ÀÔ´Ï´Ù. ¸í·É ÁÙ¿¡¼­ »ç¿ëÇØ º¸ÀÚ. $ cat < config.ini consumer_key = consumer_secret = access_type = app_folder http_root = http : // localhost : 8080Listen = 8080eof $ dropboxwsgi -c config.ini -l InfoServer°¡ ½ÇÇà ÁßÀÔ´Ï´Ù. WSGiref ServerPretty¸¦ »ç¿ëÇÏ¿© °£´ÜÇÕ´Ï´Ù. ÀÌÁ¦ ºê¶ó¿ìÀú°¡ http : // localhost : 8080 /¸¦ °¡¸® ŵ´Ï´Ù. ÇÁ·Î´ö¼Ç ¿¡¼­ÀÌ ÀÛ¾÷À» ½ÇÇàÇÏ·Á¸é GEVENT WSGI ¼­¹ö¸¦ »ç¿ëÇÏ°í NGINX¸¦ Frontend Proxy.Library UsageWSGI ÀÀ¿ë ÇÁ·Î±×·¥À¸·Î »ç¿ëÇÏ´Â °ÍÀÌ ´Ù¾çÇÑ ¼­¹ö ȯ°æ¿¡¼­ ½ÇÇàÇÒ ¼öÀÖ´Â ÀÌÁ¡ÀÌ ÀÖ½À´Ï´Ù. App Engine°ú Heroku´Â ¸¶À½¿¡ ¿ÔÁö¸¸ ÀÚ½ÅÀÇ VPSµµ ÀÛµ¿ÇÕ´Ï´Ù. Python¿¡ Æ÷ÇÔ µÈ ÂüÁ¶ WSGI ±¸ÇöÀ» »ç¿ëÇÏ¿© Çغ¸°Ú½À´Ï´Ù. #! / usr / bin / pythonfrom wsgiref.simple_server import make_serverfrom dropboxwsgi.dropboxwsgi import make_app, memorycredstorageConfig = dict (http_root = "http : // localhost : 8080", consumer_key = "


Dropboxwsgi. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

Django-Email-Login

»ç¿ëÀÚ°¡ »ç¿ëÀÚ°¡ »ç¿ëÀÚ°¡ À̸ÞÀÏ ÁÖ¼Ò¸¦ »ç¿ëÇÒ ¼öÀÖ°Ô ÇØÁÖ´Â Django ÀÀ¿ë ÇÁ·Î±×·¥ ... ...

141

´Ù¿î·Îµå