Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.01 KB

DEVELOPMENT.md

File metadata and controls

29 lines (22 loc) · 1.01 KB

Development Setup

The easiest way is to setup a virtualenv container and install the code using the "editable" install feature of pip. Note that the package uses invoke for management tasks, which itself will execute shell commands, which are most likely only runnable on unix/linux systems.

  1. Create a virtual env, either using virtualenvwrapper or virtualenv directly and make sure to enter it:
    $ mkvirtualenv gensaschema
    $ workon gensaschema
  1. Checkout the repository and install the dependencies
    $ git clone [email protected]:ndparker/gensaschema.git src/gensaschema
    $ cd src/gensaschema
    $ pip install -r development.txt
  1. For convenience reasons you might want to change into the source directory automatically whenever you enter the venv again. Do it like that:
    $ echo 'cd "$VIRTUAL_ENV"/src/gensaschema' >> "$VIRTUAL_ENV"/bin/postactivate