Friday, October 21, 2011

Re: Django as a Standalone Desktop Application

What I did:
- Directory with: Project and Django.
- Python 2.7 download link.
- bootstrap.py with manage.py commandas

This way I didn't need to 'build a executable', which I tried, but
failed.

The trick was the bootstrap.py file with mange.py commands, like:
import manage
manage.execute_manager(manage.settings, ['manage.py', 'runserver',
'0.0.0.0:8000'])

So, the person on the other side has to just install python installer,
enter the project directory and double click bootstrap.py.

[]s
Fernando Rocha

ps.: Sqlite as backend.

--
http://about.me/fernandogrd

On Oct 21, 6:35 pm, Brett Epps <Brett.E...@quest.com> wrote:
> Hi,
>
> Could you tell us more about the utility you want to create?  It sounds like Django might not be the appropriate tool in this case.
>
> Brett
>
> From: Ivo Brodien <i...@brodien.de<mailto:i...@brodien.de>>
> Reply-To: <django-users@googlegroups.com<mailto:django-users@googlegroups.com>>
> Date: Fri, 21 Oct 2011 19:46:49 +0200
> To: Django users <django-users@googlegroups.com<mailto:django-users@googlegroups.com>>
> Subject: Django as a Standalone Desktop Application
>
> Hi,
>
> I want to write a little utility for somebody and I would like to use Django to develop it.
>
> At the moment the utility does not need/or never will have to be running on a web server.
>
> I would like to build a little standalone desktop app, so that I can send the Django App and everything that is needed (Python,MySQL/SqLite) with one Installer/Folder for Windows.
>
> Searching google I found "dbuilder.py<http://www.methods.co.nz/django/dbuilder.html>"
>
> Looks like what I am looking for, but I was wondering if you have any experience or suggestions. Maybe there is a newer tool or some state-of-the-art way to do it? dbuilder.py was last updated in 2008.
>
> Something like XAMMP or MAMP with support for python and mysqldb would be nice.
>
> Thanks!
>
> PS: I am developing on Mac OS X but could use a virtualized Windows if there is need.
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com<mailto:django-users@googlegroups.com>.
> To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com<mailto:django-users+unsubscribe@googlegroups.com>.
> For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate