我刚开始学猎鹰(http://falcon.readthedocs.org/en/latest/user/quickstart.html) 但它需要一个运行的web服务器和建议使用uwsgi或gunicorn的文档。
尽管他们已经提到了如何与gunicorn一起使用
$ pip install gunicorn #install
$ gunicorn things:app #and run app through gunicorn.
但我想用uwsgi运行这个示例应用程序。但我不知道怎么做。
我已经安装了pip install uwsgi
也gevent
正如这里建议的http://falcon.readthedocs.org/en/latest/user/install.html
但现在怎么办。有人指引我。
您可能会在uWSGI文档站点上找到您的答案,特别是尝试以下页面: http://uwsgi-docs.readthedocs.org/en/latest/WSGIquickstart.html
我从未使用过Falcon或uWSGI,但看起来你可能可以逃脱:
您可以使用uwsgi.ini来存储配置和轻松运行。把uwsgi设置为服务的好方法。使用virtualenv配置
并在应用程序文件夹中运行:
使用virtualenv命令
相关问题 更多 >
编程相关推荐