Open deepsidhu1313 opened 8 years ago
Is your registryServer directory writable?
Yes, i followed the instructions given on repo.
apt-get install python-pip
apt-get install python-virtualenv
virtualenv registryEnv
cd registryEnv
source bin/activate
git clone git@github.com:HumanDynamics/openPDS-RegistryServer.git -b master
cd openPDS-RegistryServer
pip install -r conf/requirements.txt
cd registryServer
python manage.py syncdb
python manage.py runserver 0.0.0.0:8000
Is there a sequence to setup OpenPDS on my laptop, like do i have to setup registery server and then OpenPDS or vice versa??
In order to use openPDS, you will need to have both a registry server and a PDS server running. You'll also need to point your openPDS server at your registry sever domain.
What OS are you running all of this on?
Linux Mint 17.2 (64 bit),
What if i don't have registry server domain, do i need to get a domain name for that like "registry.example.com" ??
@brian717 Do you know where the problem can be ?? I have to show some progress in my project soon, but i am unable to setup the environment so far. So may i request you for help in setting up OpenPDS and all other requirements for my Local environment. I will use my android device to demonstrate working and features of OpenPDS. Thanks :smile:
If you are not familiar with Django (the framework that both the registry server and the main openPDS server is built on), I would recommend you familiarize yourself with it. In particular, the settings.py file - it contains configuration for your server instance. In this case, I would guess that your directory structure doesn't match that configured in the settings.py file included in the registry server. Have you updated the database configuration to point to the directory where you'd like your db file located?
As for a domain name - you don't need one. You can use the IP address of the machine where you have the registry server hosted (if it's visible to the machine hosting the openPDS server), or you can host them on the same machine and have the openPDS server hit the registry server on the loopback interface.
i tried running the commands using super user permissions( sudo su ), but it is still giving the same error. Also in your instructions please edit package name python pip to python-pip.
Ok i think i fixed it. According to settings.py file it look for the db at location
/var/www/trustframework/registryEnv/openPDS-RegistryServer/test.db
So i moved the framework to the directory. Which worked. Thanks.
Please provide step by step instructions to setup whole system for academia purpose (presentations).
@brian717 Please sir close this issue, as i think problem has been solved and related to location of DB in settings file.
Hi,
I am working on a project using OpenPDS but i think i am unable to set it up on my laptop for development. I am getting following error when i try to setup registry server on my machine.
Any help ??