django - 如何在没有 openshift 的情况下托管 Django localhost 应用程序?

标签 django cloud openshift cloud-hosting pythonanywhere

我已经在本地主机中创建了一个 Django 应用程序。现在我需要在互联网上托管。我已经尝试过 openshiftpythonanywhere也。但是托管并不像我想象的那么容易。我如何在云中托管本地主机应用程序?

最佳答案

以下是链接和说明,您可以学习并开始。

PythonAnywhere

PythonAnywhere is an online Integrated Development Environment (IDE) and Web hosting service based on the Python programming language.

It provides in-browser access to server-based Python and Bash Command-line interfaces, along with a code editor with Syntax highlighting.

<强> https://www.pythonanywhere.com/wiki/DjangoTutorial

OpenShift

OpenShift is a cloud computing platform as a service product from Red Hat. A version for private cloud is named OpenShift Enterprise.

The software that runs the service is open-sourced under the name OpenShift Origin, and is available on GitHub. Developers can use Git to deploy web applications in different languages on the platform.

<强> https://github.com/openshift/django-example

Heroku

Heroku is a cloud platform as a service (PaaS) supporting several programming languages. Heroku was acquired by Salesforce.com in 2010. Heroku, one of the first cloud platforms, has been in development since June 2007, when it supported only the Ruby programming language, but has since added support for Java, Node.js, Scala, Clojure, Python and PHP and (undocumented) Perl. The base operating system is Debian or, in the newest stack, the Debian-based Ubuntu.

<强> https://devcenter.heroku.com/articles/getting-started-with-django

刚铎

引用链接:https://gondor.io/support/django/setup/

来源:wikipedia

关于django - 如何在没有 openshift 的情况下托管 Django localhost 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25541245/

相关文章:

php - 缓存云文件列表

java - 在openshift中的tomcat server.xml中定义上下文

git - 使用 Cloud9 和 Openshift 时警告 : setlocale: LC_ALL: cannot change locale (C. UTF-8)

python - 模块 'qrcode' 没有属性 'make'

sql-server - 寻求有关将现有 asp.net/sql 服务器网站迁移到 Azure VM 的建议

python - 为什么 post_save 在 Django 模型保存期间被提升两次?

amazon-ec2 - 我应该选择哪一个 - Windows Azure 或 Amazon EC2 - 来托管非托管 C++ 代码?

node.js - 权限被拒绝,mkdir 在 openshift 的容器中

python - Django 的语言环境文件安装在奇怪的地方

python - 当我提交图像时,图像字段在 django 中被清除