HumanDynamics / openPDS

openpds.media.mit.edu
MIT License
110 stars 33 forks source link

how to launch openPDS project in a andriod emulator and run it #6

Closed nmantri closed 9 years ago

nmantri commented 10 years ago

Please help me !!!

I am working on linux environment(ubuntu).

  1. I have made setup of registry server and openPDS as per the steps provided in links: https://github.com/HumanDynamics/openPDS https://github.com/HumanDynamics/openPDS-RegistryServer
  2. I have setup Andriod ADT bundle to make use of Emulator.

Open Points:

In openPDS project path, after passing the below two commands the terminal is displaying " Developement Server is running at http://0.0.0.0:8002 "

python manage.py syncdb python manage.py runserver 0.0.0.0:8002 (for access to local VM)

In openPDS-RegistryServer project path, after passing the below two commands the terminal is displaying " Developement Server is running at http://0.0.0.0:8000 "

python manage.py syncdb python manage.py runserver 0.0.0.0:8000 (for access to local VM)

I have questions now: How to run openPDS project in andriod emulator ? How to import openPDS project to emulator ?

RogerTangos commented 9 years ago

Hi nmantri,

openPDS runs exclusively on the server. To send data from a client device, you'll need to create a connector for it to insert data into the database: https://github.com/HumanDynamics/openPDS/tree/simplify/openpds/connectors

You post data to the connector's URL, and then configure the connection to insert data into the database.

The funf_connection is the one we currently have running. It accepts a SQL Database as a post. OpenSense accepts JSON, but isn't completely built.

nmantri commented 9 years ago

Hi Roger,

Thanks for the inputs.

Br,

On Mon, Oct 6, 2014 at 9:33 PM, RogerTangos notifications@github.com wrote:

Hi nmantri,

openPDS runs exclusively on the server. To send data from a client device, you'll need to create a connector for it to insert data into the database: https://github.com/HumanDynamics/openPDS/tree/simplify/openpds/connectors

You post data to the connector's URL, and then configure the connection to insert data into the database.

The funf_connection is the one we currently have running. It accepts a SQL Database as a post. OpenSense accepts JSON, but isn't completely built.

— Reply to this email directly or view it on GitHub https://github.com/HumanDynamics/openPDS/issues/6#issuecomment-58040511.