PDA

View Full Version : Running a Django Development Server on the n800


ColonelMustard
2007-04-06, 23:23
Hey All,
I recently built a website with the Django web framework, and I was able to use my tablet as a server from which i did most of my development.
Django is written in python and although has a bit of a learning curve is fairly simple to understand. Running it off of your nokia is an easy way to learn Django without the hassle of configuring apache or another http server to work with Django. Its also a cool thing to further demonstrate the capabilities of the nokia tablets. One other thing that Django can help with is the fast creation of web applications that may be able to function as make-shift replacements for the full-fledged applications that the maemo platform is currently lacking.

I don't know if there is any interest in this but I wrote up the steps I took to get Django up and running:
http://paulmostardi.com/blog/2007/Apr/05/n800-django-development-server

Let me know if it works for you

xinor
2008-10-01, 08:40
Thanks for your post ColonelMustard
I followed your steps, with Django1.0.
Encountered some problems when running 'python manage.py syncdb'
You probably already got it working, anyways, here goes;

After creating a project with an app in it, I got python errors regarding no module xml.sax.saxutils.
I solved it with adding repository "Testing Meamo Etxras", and installing package "python2.5-xml" (apt-get install python2.5-xml). Now it works fine. All commands works etc etc.

Testing Maemo Extras can be found at http://gronmayer.com/it.

fpp
2008-10-01, 09:33
At the maemo summit in Berlin I gave a presentation in a similar vein, but using another python web framework, web2py. The nice thing about it is that it requires NO setup or configuration whatsoever to get it up and running on the tablets : just unzip and launch :-)

xinor
2008-10-01, 09:48
Cool!
I'll give it try!