Hosting tutorials

90 views
Skip to first unread message

Jak

unread,
Mar 28, 2012, 10:03:13 AM3/28/12
to Django users
Hello All,

I am new to programming, and I have spent the year learning HTML, CSS,
Python, and now Django. I can build a basic dynamic site on the
development server, but I have no idea how to share this site with the
world. The Django deployment section in the Django book is difficult
to understand. What do I need to know before I can begin hosting my
projects. Do I need to know apache? I'm not even entirely sure how
servers work. I read the w3schools sever tutorial, but it only
describes what a server is, not how or what you need to host your
site. Does anyone know of any good tutorials for beginners?

Thanks

Programming noob

NENAD CIKIC

unread,
Mar 28, 2012, 1:08:29 PM3/28/12
to Django users
Hi,
i am also new to django. I have put alive my first django project on
linode VPS.
First I have created on my development machine the virtual box with
last ubuntu. Then I have put alive the django project following
instruction on
https://code.djangoproject.com/wiki/DjangoAndNginx
i.e. I have used nginx as it seemed from newgroup posting easier to
install for newbies.
After I have done it on vbox I have bought linode account and repeated
the sequence there.

All in all, in two days I have put the project alive. Probably not all
is done as it should be, but it is live.

The most time I have spent is on how to share the folder between vbox
and windows host. The not documented hint (at least i did not find
anywhere) is that the root user of ubuntu shall be part of vboxusers
group, so I have created the group with
groupadd vboxusers
and added the user to the group
sudo usermod -a -G vboxusers cikic
After that I could use the vbox additions; i.e. I could map one folder
for data exchanging.

hth
Nenad

yati sagade

unread,
Mar 28, 2012, 2:31:59 PM3/28/12
to django...@googlegroups.com
Hi
I you just want to share your apps with the world, you do not need to pay for a complete server setup. I have been using OpenShift(https://openshift.redhat.com/app/) for long now, and it's quite easy to get up and running. Others are[not tried, but heard are great] Heroku(http://www.heroku.com/), Google AppEngine(https://appengine.google.com/). I've actually used GAE for Python, but using Django and it's ORM is a bit tricky here, but nonetheless doable. Another one with great reviews is CloudFoundry by VMWare (http://www.cloudfoundry.com/).

Cheers!

--
Yati Sagade

Twitter: @yati_itay

Organizing member of TEDx EasternMetropolitanBypass
http://www.ted.com/tedx/events/4933
https://www.facebook.com/pages/TEDx-EasternMetropolitanBypass/337763226244869


surya

unread,
Aug 12, 2012, 7:50:49 AM8/12/12
to django...@googlegroups.com
Hey,

As you said that you were using Django on Open Shift..

Can you tell me how to configure Django 1.4 and Python 2.7 on openshift DIY with virtualenv??

I tried almost every tutorial on web and fed up with them. I don't know why but I just run into errors..

So, could you please write a detailed step-by-step procedure for that?? It will help me a lot!


Thanks.

Waiting for your rely.

surya

unread,
Aug 12, 2012, 1:49:56 PM8/12/12
to django...@googlegroups.com
HI Scott,

Thanks for replying. Actually I have been on Heroku for some time. Its pretty good. However, I am looking for a PaaS which provides Database Hosting. Heroku does that but I need credit card to do use it.

As OpenShift doesn't ask me such details and also provides good servers.. I thought to move to it.



On Sunday, August 12, 2012 10:58:54 PM UTC+5:30, citadelgrad wrote:
I'd recommend you following heroku's step-by-step tutorial to get a test app working on Heroku then try to deploy your app. Heroku's documentation is good and you won't need to worry about setting up virtualenv. The Django book is out of date and so if you are developing against 1.4 you will have a lot of problems that will be difficult to sort out.  Django 1.4 changed the project structure of apps so you will probably run into problems if you are following tutorials written for 1.3 or older.

Thanks,

Scott
Reply all
Reply to author
Forward
0 new messages