Development Buildout of OpenProcurement
Follow the instructions:
-
Bootstrap the buildout with Python 2.7:
$ python bootstrap.py
-
Build the buildout:
$ bin/buildout -N
System requirements (fedora 22):
dnf install gcc file git libevent-devel python-devel sqlite-devel zeromq-devel libffi-devel openssl-devel systemd-python
Local development environment also requires additional dependencies:
dnf install couchdb
To start environment services:
bin/circusd --daemon
To debug problems (if any) see var/log/circus.log
and other var/log/*.log
log files.
To to run openprocurement.api instance:
bin/chaussette paste:etc/openprocurement.api.ini