Skip to content

openprocurement/openprocurement.buildout

Repository files navigation

openprocurement.buildout

Development Buildout of OpenProcurement

Follow the instructions:

  1. Bootstrap the buildout with Python 2.7:

    $ python bootstrap.py
    
  2. 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