Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1008 Bytes

DEVELOPMENT.md

File metadata and controls

29 lines (22 loc) · 1008 Bytes

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 rcssmin
    $ workon rcssmin
  1. Checkout the repository and install the dependencies
    $ git clone [email protected]:ndparker/rcssmin.git src/rcssmin
    $ cd src/rcssmin
    $ 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/rcssmin' >> "$VIRTUAL_ENV"/bin/postactivate