{"id":49483,"date":"2023-04-23T17:27:47","date_gmt":"2023-10-25T23:18:35","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/"},"modified":"2024-04-30T00:55:57","modified_gmt":"2024-04-29T16:55:57","slug":"%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/","title":{"rendered":"\u5728Mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5Django\u548cGunicorn\uff0c\u5e76\u6267\u884cWSGI\u5e94\u7528\u7a0b\u5e8f"},"content":{"rendered":"<p>\u4f7f\u7528Gunicorn\u5c06Django\u4f5c\u4e3aWSGI\u5e94\u7528\u7a0b\u5e8f\u5728Mac\u672c\u5730\u73af\u5883\u4e0a\u8fd0\u884c\u3002<br \/>\n(\u8fd0\u884c\u65e5\u671f\uff1a2017\/03\/18)<\/p>\n<p>Gunicorn \u662f\u6307 Gunicorn.org \u7f51\u7ad9\u4e0a\u7684\u5185\u5bb9\u3002<\/p>\n<pre class=\"post-pre\"><code>Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. \r\nIt's a pre-fork worker model. \r\nThe Gunicorn server is broadly compatible with \r\nvarious web frameworks, simply implemented, \r\nlight on server resources, and fairly speedy.\r\n<\/code><\/pre>\n<h2>django &#8211;&gt; Django<\/h2>\n<h3>\u6700\u65b0\u7248\u7684pip<\/h3>\n<p>\u547d\u4ee4\uff1a<br \/>\n\u5347\u7ea7 pip\uff1a<br \/>\npip install &#8211;upgrade pip<br \/>\n\uff08\u7701\u7565\uff09<\/p>\n<h3>\u5b89\u88c5django<\/h3>\n<p>\u547d\u4ee4\uff1a<br \/>\n\u4f7f\u7528sudo\u547d\u4ee4\u5b89\u88c5django\u5e93<\/p>\n<pre class=\"post-pre\"><code>USER-no-MacBook-Air:~ user$ sudo pip install django\r\nPassword:\r\nThe directory '\/Users\/user\/Library\/Caches\/pip\/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\r\nThe directory '\/Users\/user\/Library\/Caches\/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\r\nCollecting django\r\n  Downloading Django-1.10.6-py2.py3-none-any.whl (6.8MB)\r\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 6.8MB 61kB\/s \r\nInstalling collected packages: django\r\nSuccessfully installed django-1.10.6\r\nUSER-no-MacBook-Air:~ user$ \r\n<\/code><\/pre>\n<h3>\u9879\u76ee\u521b\u5efa<\/h3>\n<p>\u547d\u4ee4\uff1a<br \/>\ndjango-admin.py startproject [\u9879\u76ee\u540d\u79f0]<\/p>\n<p>\u547d\u4ee4\u793a\u4f8b\uff1a<br \/>\ndjango-admin.py startproject django_test<\/p>\n<pre class=\"post-pre\"><code>USER-no-MacBook-Air:django user$ django-admin.py startproject django_test\r\nUSER-no-MacBook-Air:django user$ ls -ltra\r\ntotal 0\r\ndrwxr-xr-x  3 user  staff  102  3 18 21:18 ..\r\ndrwxr-xr-x  4 user  staff  136  3 18 21:19 django_test\r\ndrwxr-xr-x  3 user  staff  102  3 18 21:19 .\r\n(\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u308b)\r\nUSER-no-MacBook-Air:django user$ cd django_test\r\nUSER-no-MacBook-Air:django_test user$ ls -ltra\r\ntotal 8\r\n-rwxr-xr-x  1 user  staff  809  3 18 21:19 manage.py\r\ndrwxr-xr-x  6 user  staff  204  3 18 21:19 django_test\r\ndrwxr-xr-x  3 user  staff  102  3 18 21:19 ..\r\ndrwxr-xr-x  4 user  staff  136  3 18 21:19 .\r\n(\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u8eab)\r\nUSER-no-MacBook-Air:django_test user$\r\n<\/code><\/pre>\n<h3>\u6267\u884c<\/h3>\n<p>\u547d\u4ee4\uff1a<br \/>\npython manage.py runserver<\/p>\n<pre class=\"post-pre\"><code>USER-no-MacBook-Air:django_test user$ python manage.py runserver\r\nPerforming system checks...\r\n\r\nSystem check identified no issues (0 silenced).\r\n\r\nYou have 13 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.\r\nRun 'python manage.py migrate' to apply them.\r\n\r\nMarch 18, 2017 - 12:21:57\r\nDjango version 1.10.6, using settings 'django_test.settings'\r\nStarting development server at http:\/\/127.0.0.1:8000\/\r\nQuit the server with CONTROL-C.\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8bfd913a08637a6cf4f6\/16-0.png\" alt=\"image\" \/><\/div>\n<p>\u5728\u7f51\u9875\u6d4f\u89c8\u5668\u663e\u793a\u540e\u7684\u7ec8\u7aef\u663e\u793a\u5185\u5bb9<\/p>\n<pre class=\"post-pre\"><code>[18\/Mar\/2017 12:22:16] \"GET \/ HTTP\/1.1\" 200 1767\r\n<\/code><\/pre>\n<h2>\u72ec\u89d2\u517d<\/h2>\n<h3>\u5b89\u88c5gunicorn\u3002<\/h3>\n<p>\u4ee5\u4e0b\u662f\u81ea\u7136\u4e2d\u6587\u7684\u53e5\u5b50\uff1a<br \/>\n\u547d\u4ee4\uff1a<br \/>\nsudo pip \u5b89\u88c5 gunicorn<\/p>\n<pre class=\"post-pre\"><code>USER-no-MacBook-Air:~ user$ sudo pip install gunicorn\r\nPassword:\r\nThe directory '\/Users\/user\/Library\/Caches\/pip\/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\r\nThe directory '\/Users\/user\/Library\/Caches\/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\r\nCollecting gunicorn\r\n  Downloading gunicorn-19.7.0-py2.py3-none-any.whl (112kB)\r\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 112kB 467kB\/s \r\nInstalling collected packages: gunicorn\r\nSuccessfully installed gunicorn-19.7.0\r\nYou are using pip version 8.1.2, however version 9.0.1 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\nUSER-no-MacBook-Air:~ user$ \r\n<\/code><\/pre>\n<h3>\u7528gunicorn\u8fd0\u884c<\/h3>\n<p>\u547d\u4ee4\uff1a<br \/>\ngunicorn [\u9879\u76ee\u540d\u79f0].wsgi:application<br \/>\n\u547d\u4ee4\u793a\u4f8b\uff1a<br \/>\ngunicorn django_test.wsgi:application<\/p>\n<pre class=\"post-pre\"><code>USER-no-MacBook-Air:django_test user$ gunicorn django_test.wsgi:application\r\n[2017-03-18 22:39:00 +0900] [2365] [INFO] Starting gunicorn 19.7.0\r\n[2017-03-18 22:39:00 +0900] [2365] [INFO] Listening at: http:\/\/127.0.0.1:8000 (2365)\r\n[2017-03-18 22:39:00 +0900] [2365] [INFO] Using worker: sync\r\n[2017-03-18 22:39:00 +0900] [2368] [INFO] Booting worker with pid: 2368\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8bfd913a08637a6cf4f6\/26-0.png\" alt=\"image\" \/><\/div>\n<p>\u5728Mac\u4e0a\u5b89\u88c5Django\u7684\u53c2\u8003\u7f51\u7ad9\uff1a<br \/>\n\u4f7f\u7528Gunicorn\u8fd0\u884cDjango\u7684\u65b9\u6cd5<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528Gunicorn\u5c06Django\u4f5c\u4e3aWSGI\u5e94\u7528\u7a0b\u5e8f\u5728Mac\u672c\u5730\u73af\u5883\u4e0a\u8fd0\u884c\u3002 (\u8fd0\u884c\u65e5\u671f\uff1a2017\/03\/1 [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-49483","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728Mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5Django\u548cGunicorn\uff0c\u5e76\u6267\u884cWSGI\u5e94\u7528\u7a0b\u5e8f - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5django\u548cgunicorn\uff0c\u5e76\u6267\u884cwsgi\u5e94\u7528\u7a0b\u5e8f\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728Mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5Django\u548cGunicorn\uff0c\u5e76\u6267\u884cWSGI\u5e94\u7528\u7a0b\u5e8f\" \/>\n<meta property=\"og:description\" content=\"\u4f7f\u7528Gunicorn\u5c06Django\u4f5c\u4e3aWSGI\u5e94\u7528\u7a0b\u5e8f\u5728Mac\u672c\u5730\u73af\u5883\u4e0a\u8fd0\u884c\u3002 (\u8fd0\u884c\u65e5\u671f\uff1a2017\/03\/1 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5django\u548cgunicorn\uff0c\u5e76\u6267\u884cwsgi\u5e94\u7528\u7a0b\u5e8f\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-25T23:18:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T16:55:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8bfd913a08637a6cf4f6\/16-0.png\" \/>\n<meta name=\"author\" content=\"\u6e05, \u626c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u626c\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/\",\"name\":\"\u5728Mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5Django\u548cGunicorn\uff0c\u5e76\u6267\u884cWSGI\u5e94\u7528\u7a0b\u5e8f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-10-25T23:18:35+00:00\",\"dateModified\":\"2024-04-29T16:55:57+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728Mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5Django\u548cGunicorn\uff0c\u5e76\u6267\u884cWSGI\u5e94\u7528\u7a0b\u5e8f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461\",\"name\":\"\u6e05, \u626c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u626c\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728Mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5Django\u548cGunicorn\uff0c\u5e76\u6267\u884cWSGI\u5e94\u7528\u7a0b\u5e8f - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5django\u548cgunicorn\uff0c\u5e76\u6267\u884cwsgi\u5e94\u7528\u7a0b\u5e8f\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728Mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5Django\u548cGunicorn\uff0c\u5e76\u6267\u884cWSGI\u5e94\u7528\u7a0b\u5e8f","og_description":"\u4f7f\u7528Gunicorn\u5c06Django\u4f5c\u4e3aWSGI\u5e94\u7528\u7a0b\u5e8f\u5728Mac\u672c\u5730\u73af\u5883\u4e0a\u8fd0\u884c\u3002 (\u8fd0\u884c\u65e5\u671f\uff1a2017\/03\/1 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5django\u548cgunicorn\uff0c\u5e76\u6267\u884cwsgi\u5e94\u7528\u7a0b\u5e8f\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-10-25T23:18:35+00:00","article_modified_time":"2024-04-29T16:55:57+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8bfd913a08637a6cf4f6\/16-0.png"}],"author":"\u6e05, \u626c","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u626c","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/","name":"\u5728Mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5Django\u548cGunicorn\uff0c\u5e76\u6267\u884cWSGI\u5e94\u7528\u7a0b\u5e8f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-10-25T23:18:35+00:00","dateModified":"2024-04-29T16:55:57+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728Mac\u4e0a\u4f7f\u7528pip\u5b89\u88c5Django\u548cGunicorn\uff0c\u5e76\u6267\u884cWSGI\u5e94\u7528\u7a0b\u5e8f"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461","name":"\u6e05, \u626c","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","caption":"\u6e05, \u626c"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8mac%e4%b8%8a%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85django%e5%92%8cgunicorn%ef%bc%8c%e5%b9%b6%e6%89%a7%e8%a1%8cwsgi%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=49483"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49483\/revisions"}],"predecessor-version":[{"id":88700,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49483\/revisions\/88700"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=49483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=49483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=49483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}