← Back to team overview

ubuntu-phone team mailing list archive

Run a Django website on Ubuntu Touch. [tags: Python, http.server, Django, runserver, PIL, Pillow]

 

Developers,

does anybody know about attempts to get simple Django websites running
on Ubuntu Touch?

I'd love to migrate a website project from an old-school carry-around
cube computer, with an access point attached, to a mobile phone or
tablet with decent horse power. Currently, a client of us takes that
project/computer to fairs to have customers play a quiz game on
tablets in their booth.

It should be sufficient to run a fully-fledged Python distribution on
the phone. Not sure about the PIL library for image processing.
Installing that is sometimes an issue due to system dependencies. But
really, isn't the phone a full convergent device already?

I'd be happy to build a snap or whatever it takes with a Django
website project skeleton to deploy such projects on a phone. Just a
Python http.server (`python -m http.server`) / Django runserver
(`python manage.py runserver`) with SQLite as a database, which is
shipped with Python, would be sufficient. No web proxy, such as Nginx,
needed to start with.

And port 80 should be able to be exposed to the outside world. With
the phone running as access point. That would be nice.

Any feedback greatly appreciated,
Peter


Follow ups