1.7 KiB
1.7 KiB
Developing BillingStack
Setting up a development environment
double: development; env
There are 2 ways to setting up a development environment *
:doc:install/manual - Manual setup for a more distributed / semi
production env * This: development-env
Clone the repo - see
cloning-git
for generic information:$ git clone http://github.com/billingstack/billingstack
Change directory to the BS directory:
$ cd billingstack
Setup a virtualenv with all deps included for the core:
$ python tools/install_venv.py
Now wait for it to be ready ( Take a coffe break? )
Active the virtualenv:
$ source .venv/bin/activate
You're ready to have fun!
Running tests
Using tox you can test towards multiple different isolated environments.
For example if you want to test your PEP8 coverage that is needed to pass for a change to merge:
$ tox -e pep8
Running the actualy in Python 2.7 tests:
$ tox -e py27 -v -- -v