Good morning,
I have been using Drupal for a while now, but am slowly moving toward
DJango.
I am currently working on quite an ambitious project, which I will be
releasing under a permissive license (New BSD or better).
I would like my project to be as accessible as possible. To this end,
I would like people without any Python or DJango knowledge to be able
to quickly setup my project.
Here is the web-interface functionality I would like to present to the
user:
<welcome to [project y]>
<Select database type>
<Database name>
<Database location>
<Username>
<Password>
<Database prefix>
[Install]
Can DJango be made do work this way? — If so, do you have some example
code or an existing project which does this?
Thanks for all suggestions,
Alec Taylor
--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To post to this group, send email to django-d...@googlegroups.com.
To unsubscribe from this group, send email to django-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To post to this group, send email to django-d...@googlegroups.com.
To unsubscribe from this group, send email to django-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To post to this group, send email to django-d...@googlegroups.com.
To unsubscribe from this group, send email to django-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
I do not think you have fully read the post - he wants users to be able
to set up their django sites with a GUI.
--
regards
Kenneth Gonsalves
Nothing prevents you from altering the settings file dynamically and telling the user to restart the webserver. You can run wih an in-memory SQLite database until this is done.
So your question isn't related to the development of Django itself; it would be more appropriate on django-users.
Note that deploying a Django project is a bit more complicated than a PHP project (just throw the files in WWW_ROOT). IMO setting up the database isn't the most difficult step. I don't know any projects that provide this feature.
Best regards,
--
Aymeric.
For PyLucid CMS i created a "standalone package" with a Web-GUI installation.
You need not shell to install it.
Here some screenshots:
http://www.pylucid.org/permalink/340/pylucid-screenshots/PyLucid-standalone/
The Web-GUI install is a simple CGI script for running syncdb, south migrate and
create a first superuser etc.
The script is here:
<https://github.com/jedie/PyLucid/blob/master/scripts/standalone/install_pylucid.cgi>
The install procedure is really simple:
* Upload all files via FTP to webserver
* request http://www.my_server.tld/install_pylucid.cgi
* run "syncdb", "migrate", "create superuser", "loaddata"
Complete instruction here:
http://www.pylucid.org/permalink/331/1b-install-pylucid-standalone-package
But the prefered way to install PyLucid is a bootscript which creates a virtualenv:
<http://www.pylucid.org/permalink/333/1a1-create-a-pylucid-environment-with-pylucid-boot>
--
Mfg.
Jens Diemer
Anyone interested in working with me to port this to DJango?
(the reason I'm not doing it myself is that I am very new to Python and DJango)
Alec, as other people have mentioned, Django is not Drupal. Drupal is
a web application that can be customized using plugins, where as
Django is a python library one can use to create web applications.
With that in mind, 'porting this to django' is nonsensical - PyLucid
uses Django already, and Django is only the framework, not the
project.
The point here is that two different web apps created using Django
could have vastly different requirements and installation steps, where
as Drupal has a single set of steps to go from nothing to installed.
In fact, its quite common to have the same project installed and
running in completely different manners. For instance on our
production servers, all libraries/code/templates, even in house ones,
are installed from our internal package repository (an in house pypi
clone), where as in development, each package is checked out from
subversion in an editable form.
PyLucid is a good example of a project based on django providing
simple and clean installation instructions - although I wouldn't
deploy it quite like that myself, any solution which uses .htaccess is
Bad and Wrong imo*.
>
> (the reason I'm not doing it myself is that I am very new to Python and DJango)
>
And (not to be too harsh) this is why you are suggesting it. Django is
like a tool, admittedly it's one of those Leatherman style multi tools
that you can use to do almost anything, but it's still a tool for you
to use rather than a base.
Cheers
Tom
* de gustibus non est disputandum
it may be my first message on the list ever, but I wanted to put my 2
cents here.
From the PHP world, Symfony2 introduced a "web installer" system in its
"standard" distribution (which is the core + some fancyness).
To me, it's useless unless you want to attract people from a larger
audience than what the framework is aimed at at first. I personally
don't want some useless (or use-once at best) code to be around my
project, and I don't think it's the role of a developper-oriented piece
of software to provide such things. Of course, a more "newbie-friendly"
may be "nice-to-have", but imho the "core" of a framework should not
provide such thing.
Romain.
I want to be able to package my DJango project up into something as
easily installable as a Drupal distribution.
> I agree with you that reducing the barriers to using Django is very important. But what we need is not necessarily a web based installer, but something to get people off the ground so they can start playing around with Django very quickly. Back in the day (like circa 2004) the thing that really helped me learn PHP was this program called EasyPHP which was a simple Windows based installer that got me up and running and writing code on my local machine in five minutes.
PHP and Django installation are very different.
For PHP you need a couple of things:
- apache or equivalent
- php module
- configuration tuning
- find the apache root to put your files under
- a database
- database modules for php
and I might have missed a couple of things
For Django, you'll need:
- Python
- Django
At this point you can go ahead with the dev server and sqlite. No need to tune/configure things further. I hardly see how one can lower this further.
Beyond that, what I am wondering is how much users will be able to understand how Django work if they can't do the installation.
Regards,
Xavier.
On Wed, Sep 14, 2011 at 1:00 AM, h3 <hain...@gmail.com> wrote:
>> Beyond that, what I am wondering is how much users will be able understand how Django work if they can't do the installation.
One option a third part could put time into to solve this issue is a
prebuilt machine. A wrapped up, distributable vagrant install. That
could easily take 90% of the complexity away.