Your DIY smart house. Simplified.
Project description
=========
Joint Box
=========
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:
::
./development/copyright-update
In order to run suplementary services under docker you may use predefined docker-compose config:
::
cd ./development/docker
docker-compose up -d
Joint Box
=========
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:
::
./development/copyright-update
In order to run suplementary services under docker you may use predefined docker-compose config:
::
cd ./development/docker
docker-compose up -d
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(36.9 kB
view hashes)
Built Distribution
jointbox-0.1.1-py3-none-any.whl
(72.4 kB
view hashes)