Database and API server for Cloudhands-EOS system.
$ sudo apt-get install python3.4-dev postgresql libpq-dev libffi-dev
# A hack to bootstrap the venv properly
$ pyvenv-3.4 --without-pip ~/eoscloud-venv
$ wget -q -O- https://bootstrap.pypa.io/get-pip.py | ~/eoscloud-venv/bin/python
$ sudo -Hi -u postgres createuser -w $USERNAME -DRS
$ sudo -Hi -u postgres createdb -w eos_db -E UTF8 -O $USER
$ ~/eoscloud-venv/bin/python setup.py develop
$ ~/eoscloud-venv/bin/python
$ ~/eoscloud-venv/bin/python bin/eos-init
$ ~/eoscloud-venv/bin/python bin/eos-admin help
Use this tool to configure your users and servers, before starting the DB:
$ ~/eoscloud-venv/bin/pserve development.ini
This assumes you want to develop the system. For production, follow a similar path but do it in a dedicated account and use '... setup.py install'.
The server module requires a Python 3 environment, and will fail if used with Python2. ( TODO - see what tests actuall fail )