Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible to host a django site on github pages? [closed]

Tags:

github

django

I'm new to django, and have a small finished project I'd like to publish online. Is it possible to host my site as a github project page, or do I have to use a service like OpenShift?

like image 403
rookie Avatar asked Apr 26 '15 16:04

rookie


People also ask

Can we host Django website on GitHub pages?

See, our django application has deploy successfully on github. Now, we can access it globally.

Can we host Django website for free?

On Heroku, one can deploy Django apps for free. For your web app, Heroku also lets you choose your own name for your app. Hence you can create custom domain names for your web application and launch it on the internet so that all your friends can see your cool web projects!


2 Answers

You can deploy Django on a physical server or VPS (see the deployment docs). You don't have to use a a platform as a service like OpenShift or Heroku.

It is not possible to host a Django site on Github pages. Github pages is for static sites, whereas Django requires Python to generate pages dynamically.

like image 162
Alasdair Avatar answered Sep 27 '22 17:09

Alasdair


If you do not want to use OpenShift, but instead would prefer a more python-centric environment, I just discovered PythonAnywhere today. They appear to allow you to host Django websites and you can even use it for the Django tutorial.

like image 44
Mark O'Sullivan Avatar answered Sep 27 '22 18:09

Mark O'Sullivan