so, let's say I'm building a Django based site for my costumer, the
costumer knows nothing about computers so he don't care about the
programming language, however,
in most cases the hosting service he uses won't allow python scripts.
thats a problem.
how can I solve this problem? can I run my Django-based site on a
server that supports
FastCgi, but has no python installed at all? [that's the situation on
most cases, Fcgi - ON,
python - OFF ]
On Jul 14, 4:09 pm, Michael <xmxmich...@gmail.com> wrote:
> I've been searching for free hosting services that supports
> Mod_Python, I never find one.
Well even I haven't found a free Django hosting site yet. ;-)
> In addition, there are few non-free hosting services that supports it.
>
> so, let's say I'm building a Django based site for my costumer, the
> costumer knows nothing about computers so he don't care about the
> programming language, however,
> in most cases the hosting service he uses won't allow python scripts.
> thats a problem.
>
> how can I solve this problem? can I run my Django-based site on a
> server that supports
> FastCgi, but has no python installed at all? [that's the situation on
> most cases, Fcgi - ON,
> python - OFF ]
I am really not sure of this question but according to what
http://www.djangoproject.com/documentation/fastcgi/ says I don't think
it is possible to deploy without python (I might be wrong as well).
Cheers
Thejaswi Puthraya
On Jul 14, 2:24 pm, theju <thejaswi.puthr...@gmail.com> wrote:
> Hi Michael,
> Quite a few hosting services support Django (and also mod_python).
> Here is the list of Hosting Providers from the Django Websitehttp://code.djangoproject.com/wiki/DjangoFriendlyWebHosts
Thanks, I already saw that list, it's useful when you build your own
site and searching for a hosting service.
It's not so useful for me because my main job is to build web-sites
for costumers that already have some of hosting service, the chance
that they use a hosting service from that list is very low, almost
zero.
That's means that I can't use Django or any other python-based
framework for my job ?
I'm asking all the programmers that work for other people, how do you
work with Django?
If the host does not offer Python, you cannot use a Python-based framework.
> I'm asking all the programmers that work for other people, how do you
> work with Django?
For anything other than a personal site, I recommend having at least a
VPS or dedicated server; for anyone doing business on the web, there
shouldn't even be any question about this, no matter what technology's
being used -- the level of flexibility offered by dedicated hosting
costs money, but is well worth it.
Back when I was freelancing, the way I explained hosting to clients
was like this:
Your web site is how you present yourself to the world. If you were
running a business with a physical office, you certainly wouldn't
expect to find free office space or a free retail location -- you'd
expect to pay money to rent space, and you'd understand that the
quality of that location will impact the price. And if you want to be
successful, you'll invest some money up-front to have space in a
well-maintained building with a good location.
Free or cheap web hosts, in this analogy, are the online equivalent of
run-down buildings in bad parts of town; no matter how hard you work,
the limitations of the location are always going to be apparent to
your customers and are always going to hinder you in offering them the
best experience. So just as you'd invest more money to get a nicer
real-world location for a business, you'll want to invest more money
to get a higher quality hosting service; the increased flexibility it
offers in terms of improving visitor/customer experience will quickly
pay back the cost of the hosting, and then some.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
> for costumers that already have some of hosting service, the chance
> that they use a hosting service from that list is very low, almost
> zero.
>
> That's means that I can't use Django or any other python-based
> framework for my job ?
> I'm asking all the programmers that work for other people, how do you
> work with Django?
what i do is host on my own server until they are hooked on django
and then they either twist their provider's arms or get a new provider
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
but how I can convince them to change provider? I mean, they could
hire some PHP programmer instead...
they don't really care about the Django advantages, they just want
their project to be done in time..
If you don't want to deal with making them sign up for a new host, you
could always sign up for the host yourself and pass the costs on to
the customer.
that is known as the 'django way' - set up the admin (within 24 hours
of your talk with them) - tell them you want them to enter *real*
data to test functionality. Keep twiddling with admin to satisfy
their needs. In no time they'll be hooked. It is just marketing - and
you have a great product to market. I have client where I did this -
they have a shiny php server for their needs, i built a django app
for them. Time came when they wanted the app on their server - six
months of data already on my 'test' server. Their guy said he would
add python and postgresql for 1000 euro per year. They went and
bought a webfaction account for 10 Euro per month. Webfaction django
hosting rocks.
I second that.
Truly professional, responsive, and helpful.
Peace,
David S.
can I get a link to Webfaction?
ok, I think I found it by myself
http://www.webfaction.com/shared_hosting
--------
so, as I understand, the best strategy is to host the clients product
on my own server
then to show the final product to the client, he likes it, and then I
can convince him to use other hosting service (ie - webfraction)
right?
It's a good idea, but the problem is that I'm kinda out of money
paying every month to some hosting service would be a pain :)
so, someone interested to share with me his hosting service?
I can pay him AFTER I sell the product
think about that- it may be easy money for you, I'm doing all the
development on my comp, once the product is done, I upload it to your
host, just for 1-2 days, - if the client is happy, he pays me and I
pay you, just for 1-2 days of hosting :)
so my question is: can I run a django-based website on a server that
support python but not django?
As much as I would like the easy money, I have to recommend you do it yourself,
just change what it is you are trying to do.
first thoughts:
show the client on your computer. the one you developed on.
or,
use the client's computer.
I do recommend installing apache or whatever you plan on using at the final
location (webfraction) Not sure I would recommend installing apache on your
client's computer, but that is between you and them.
This isn't as cool as having a domain name and a "live on the Net" site, but you
and your client need to realize that isn't anything different than a local site.
I don't think it will be worth the hassle, risks or money to do what you are asking.
Carl K
showing the site from my computer would be very slow, my upload speed
is 13 kbyte/sec
using the client's computer isn't possible.
but thanks for your suggestions.
what about my other question?
Carl Karsten wrote:
> at the final location (webfraction)
Il looks like a few people need to look up the difference between "faction"
and "fRaction". ;-)
> Not sure I would recommend installing apache on your
> client's computer, but that is between you and them.
...and about, what, other five thousand people? No, make that the whole
intarweb! ;-)
--
Nicola Larosa - http://www.tekNico.net/
This sounded kinda zen when I first heard it...running Django
apps on a host without Django, sound of one hand clapping, and
all that.
The important factors are the webserver interface (mod_python or
fastcgi) and that python is available. If your server meets
these criteria, you can install django as it's only a bunch of
python code that can be unzipped/untarred/"svn co"'ed in the
directory of your choice.
There are other aspects such as required libraries (a python
interface to your DB engine of choice/availability), but
otherwise, there's minimal fuss.
A list of known Django-friendly webhosts is maintained at
http://code.djangoproject.com/wiki/DjangoFriendlyWebHosts
If you find one that isn't on the list that ends up working for
you, it would be a service to add it to the wiki.
-tim
You might find some useful information in this thread :
http://groups.google.com/group/django-users/browse_thread/thread/1c67d892907
d1abb/8fd08f175a11ac82?lnk=gst&q=httpd.conf&rnum=1#8fd08f175a11ac82
Chris
> -----Original Message-----
> From: django...@googlegroups.com
> [mailto:django...@googlegroups.com]On Behalf Of Michael
> Sent: Sunday, July 15, 2007 10:38 AM
> To: Django users
> Subject: Re: is there any host servers that supports Django
> based sites?
> Importance: Low
>
>
>
>
>
> On 15 יולי, 17:18, Michael <xmxmich...@gmail.com> wrote:
> > .:
> >
> > > > Webfaction django hosting rocks.
> >
> > can I get a link to Webfaction?
>
> ok, I think I found it by myself
> http://www.webfaction.com/shared_hosting
> --------
> so, as I understand, the best strategy is to host the clients product
> on my own server
> then to show the final product to the client, he likes it, and then I
> can convince him to use other hosting service (ie - webfraction)
after many indecisions, I decided to leave Django and keep working
with PHP
I'm really disappointed that I had to make this decision :-(
I like python AND django, honestly I think it's the best web
framework that ever been made :)
furthermore, using Django for web applications is very enjoyable
the thing is that I have like 1 year, for making money and gain some
experience
I'm to young to work in some serious company, so meanwhile I want to
freelance and hopefully find a permanent job after maybe 6-7 months of
freelancing.
there is no chance for me to reach my goal using Django because:
1) in the freelancing 'scene' there is no requests for Django , many
jobs requires PHP skills [fixing and modifying apps]
2) even when the client needs a whole new website and he don't care
about the programming - his host provider obviously won't support
Django and it's too hard to convince people change their host.
and the most important reason that made me leave django and use php
instead is finding a REAL job.
after the freelance period, I hope to find a job in some company,
unfortunately, there is no requests for Django developers, and the
requests for a python programmer [not just for web] are extremely
low.
[I don't know the situation in the world, but thats the situation in
my place]
and again - thank you guys for commenting and helping :)
PS: May be in 6-7 months there will be more offers fos django
developers than for php :)
I can certainly sympathize; back in my freelance days I enjoyed
writing Python and fell in love with Django after its initial release,
but PHP and Perl were paying my bills so I was pretty much stuck for a
while.
My advice to you, and to anyone else in your situation, would be to
not give up -- even if you're still mostly working with, say, PHP,
keep working with Django or other frameworks when you get the chance.
When you have some spare time, write applications you're interested in
and tell the community about them, and you never know what sorts of
opportunities might turn up. And even if you never land a professional
gig out of it, the experience will make you a better and more
well-rounded programmer, and in time that'll get you progressively
better jobs no matter what languages or tools you end up working with
it.
Also, remember that this list sees an increasing number of job offers,
and there's a spot on the wiki (the "DevelopersForHire" page) where
Django-oriented freelancers and companies can offer their services for
hire and Django-oriented employers can list jobs they want to fill.
Keep an eye on that and don't be afraid to get in touch with people
and start building up contacts in the community -- opportunities will
come to folks who put themselves in the right place at the right time
;)
> and the most important reason that made me leave django and use php
> instead is finding a REAL job.
> after the freelance period, I hope to find a job in some company,
> unfortunately, there is no requests for Django developers, and the
> requests for a python programmer [not just for web] are extremely
> low.
very true - but you *will* be back, so remain on the list and keep
current
Frankly, you'd be hard pressed to find any unix (including Linux)
based web host that doesn't have Python installed. Python is a default
component of every Linux distribution I've ever used.
There is one caveat here. If the host doesn't support Python and
Django, it means you'll have to do the configuring. If you aren't
comfortable with unix config files, this might have you beating your
head against a wall. If you want to test your unix-fu, try DreamHost
which has a Django configuration article on their wiki, but doesn't
officially support it. You have to write the stuff to get Django up
and running. Even with the walk through, many people can't handle it.
Though to add to this, I have used hosting services that still
used Python 2.2 (or earlier) and IIRC, Django requires Python
version 2.3+
-tim
>
> You'll wanto to try with at least 2.4. Though it's said that 2.3 *is*
> supported, it has given me tons of headaches. For safe, go for 2.4
> at least.
all my servers run on 2.3.5 and one of them also on the latest svn
head without any problems so far