使用 dropbox 作为我的 django 应用程序的服务器
我不知道我是否有任何意义,但这突然出现在我的脑海中。我们可以使用 dropbox 的 2GB 免费托管将我们的 django 应用程序放在那里并进行一些修改来运行我们的应用程序吗?
I dont know if at all i make any sense, but this popped up in my mind. Can we use the 2gb free hosting of dropbox to put our django app over there and do some hacks to run our app?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
据说从 dropbox 不可能做到这一点,您可以使用前面提到的非常简单的云托管,
我可能迟到了,但你可以从名为 RedHat 的 Linux Fedora 公司获得免费的云托管。他们的云产品免费提供,支持 django 托管。我自己尝试了一下
Openshift 免费云托管
Being said its not possible from dropbox to do that you can use very simple cloud hosting as told ahead,
I might be late for answer but you can get free cloud hosting from Linux Fedora company called RedHat. Their cloud product is available for free which supports django hosting. I tried it my own
Openshift Free Cloud Hosting
除了 Thomas 发布的内容之外,还有其他一些免费 django 托管选项:
In addition to what Thomas posted, some other options for free django hosting:
不,这是不可能的。
如果您想使用 dropbox 作为托管,您可以放置静态页面,即仅包含 CSS 和 javascript 的 html 文件,因为可以通过执行简单的 GET 请求来检索这些文件。
托管 python 代码是不可能的,因为它需要服务器端计算和计算。 dropbox 仅用于保存文件。
请参阅官方 wiki 了解可用的主机。 https://code.djangoproject.com/wiki/DjangoFriendlyWebHosts
No, it's not possible.
If you want to use dropbox as the hosting, you can put static pages, meaning just the html files with CSS and javascript because those files can be retrieved by doing a simple GET request.
Hosting a python code is not possible as it requires server side calculations & dropbox is just for saving files.
See the official wiki for the available hosts. https://code.djangoproject.com/wiki/DjangoFriendlyWebHosts
你需要理解的一点是:你可以在没有安装 djagno 的情况下运行 django 吗? django 可以安装在 USB 驱动器上吗? Dropbox 只是一个云存储服务,而不是云托管服务。存储不需要 RAM 和处理器,而托管则需要。
因此答案是否定的。如果您可以配置 apache 等,您可以选择 VPS。如果没有尝试一些托管服务器。如果您不想花太多钱并且正在寻找 django 的免费托管解决方案,其中一些是:
kodingen.com
shellmix.com
http://0x2a-dc.com/index.php?name=shop&cat=6
http://www.heliohost.org/home/
http ://bitnami.org/cloud
https://www.alwaysdata.com/
更多数据:
http://freedjangohosting.com/
http://djangohosting.com/
https://code.djangoproject.com/wiki/DjangoFriendlyWebHosts
The point you need to understand is: can you run django without djagno installed? Can django be installed on a usb-drive? Dropbox is but a cloud storage service NOT cloud hosting service. To store you do not require RAM and processors while for hosting you do.
Hence the answer is NO. If you are okay with configuring apache etc. you can go for VPS. If not try some managed servers. If you dont want to spend much and are looking at free hosting solutions for django a few of them are:
kodingen.com
shellmix.com
http://0x2a-dc.com/index.php?name=shop&cat=6
http://www.heliohost.org/home/
http://bitnami.org/cloud
https://www.alwaysdata.com/
more data:
http://freedjangohosting.com/
http://djangohosting.com/
https://code.djangoproject.com/wiki/DjangoFriendlyWebHosts
是的,这是可能的! PythonAnywhere.com 提供了这个!
pythonanywhere 做什么很简单。他们将您的 Dropbox 帐户与他们的帐户集成。当您想要创建 Django 应用程序时,您所要做的就是指示平台将应用程序存储在您的 dropbox 文件夹中!
现在,您可以在 PC 中打开 Django 应用程序并对其进行编辑(等待一段时间进行同步)..重新启动应用程序,它可以工作了!我实际上尝试过。
提示:有许多云平台免费提供优质服务。 Openshift、Heroku、Google App Engine 等等!
Yes its possible! PythonAnywhere.com offers that!
What pythonanywhere does is pretty simple. They integrate your dropbox account with their one. When you want to create a Django app, all you got to do is, direct the platform to store the app in your dropbox folder!
Now, you can open your Django app in your PC and edit it (wait for some time to sync)..restart the app, it works! I practically tried.
Tip: There are many cloud platforms which offer great services for free. Openshift, Heroku, Google App Engine are to name a few!
不,您不能使用 DropBox 来服务 Django 网站,因为这样做需要运行 Python 代码,而 DropBox 仅用于保存和保存。服务文件。
但是,您可以找到满足您 Django 需求的免费托管,其中:
Heroku,最初原本用于 Ruby 托管,但现在允许您进行 Python 托管。但我发现 Django 的使用并不是特别容易。
ep.io,Python 专用托管,但目前仅限邀请 -您可以通过发送电子邮件并解释您的项目和内容来获得邀请。不过你的需求。在 *.ep.io 上为您提供免费的 SSL,这非常好,而且他们的服务也很棒。
Dotcloud,不特定于平台,但我个人最喜欢。它非常容易上手,并且 CLI 允许您做很多事情(但缺点是您也非常需要它)。如果您不害怕 CLI,那就太好了。
No, you can't use DropBox to serve a Django Website, as doing so requires Python code to be run, when DropBox is only for saving & serving files.
You can, however, find free hosting for your Django needs, among which:
Heroku, originally meant for Ruby hosting, but now allows you to do Python hosting. I didn't find it particularly easy to use with Django though.
ep.io, Python-specific hosting, but invite-only for the moment - it's possible to get an invite by sending an email, explaining your project & your needs though. Offers you free SSL on *.ep.io, which is pretty nice, and they've got great service.
Dotcloud, not platform specific, but my personal favorite. It's pretty easy to get started, and the CLI allows you to do a lot (but the downside is that you need it a lot too). If you're not afraid of CLI, it's great.