Skip to main content

Your DIY smart house. Simplified.

Project description

TBD

Development

First of all ensure you have all prerequisites:

  1. Python >=3.5

  2. Virtual Environment tool (virtualenv)

Then follow procedure described below to prepare environment for development:

  1. Checkout git repository: git clone https://github.com/JointBox/jointbox.git. Open terminal and change dir to the project root.

  2. Create virtual environment: virtualenv virtualenv. Activate it: source ./virtualenv/bin/activate

  3. Install development requirements: pip install -r requirements.txt

  4. Configure hooks: cd .git/hooks && ln -s ../../development/pre-commit-hook.sh pre-commit && cd ../..

  5. Install application as a package in dev mode: cd src && ./setup.py sdist

  6. Validate your setup:
    • Check if jointbox and jointboxd executables are in the context

    • Run jointbox -h and insure that output doesn’t contain exceptions

Development procedures

Ensure that all python sources contain license notice:

: code:: bash

./development/copyright-update

In order to run suplementary services under docker you may use predefined docker-compose config:

: code:: bash

cd ./development/docker docker-compose up -d

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jointbox-0.1.2.tar.gz (36.1 kB view hashes)

Uploaded Source

Built Distribution

jointbox-0.1.2-py3-none-any.whl (69.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page