Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

b3b/jadro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Django project for Android

Installation

Scripting Layer for Android

  • Install SL4A on Android

Django

  • Get Django here: tarball
  • Copy django directory from the tarball into the /mnt/sdcard/com.googlecode.pythonforandroid/extras/python/ directory on Android

Jadro

  • Get Jadro

    git clone git://github.com/b3b/jadro.git

  • Create the /mnt/sdcard/sl4a/scripts/jadro/ directory on Android

  • Copy all the Jadro files into the /mnt/sdcard/sl4a/scripts/jadro/ directory on Android

Root

  • Root the Android to have access to Android SQLite databases

Usage

run.py (from the Jadro directory) is a Django manage.py wrapper. To run manage.py command, launch run.py and follow the dialogs

  • Create default database with syncdb command
  • Start Web server with runserver command
  • Open http://127.0.0.1:8000/ from Android browser

Additional manage.py commands

  • find_databases

    Find and output a paths to SQLite databases

  • inspectdb --database_path=DATABASE_PATH

    Introspects DATABASE_PATH SQLite database

  • startapp --database_path=DATABASE_PATH

    Create app for DATABASE_PATH SQLite database

About

Django project for Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published