change to devguide to denote the need for python 3.6+

This commit is contained in:
bharnden 2019-09-11 11:23:31 -07:00
parent 58471b168b
commit 6739e9ff6e

View file

@ -26,20 +26,20 @@ the core-daemon for development.
### Setup Python Environment ### Setup Python Environment
Use python 2 or python 3 as desired with their respective utilities used below. To leverage the dev environment you need python 3.6+.
```shell ```shell
# change to daemon directory # change to daemon directory
cd $REPO/daemon cd $REPO/daemon
# install pipenv # install pipenv
pip install pipenv pip3 install pipenv
# setup a virtual environment and install all required development dependencies # setup a virtual environment and install all required development dependencies
python -m pipenv install --dev python3 -m pipenv install --dev
# setup python variable using pipenv created python # setup python variable using pipenv created python
export PYTHON=$(python -m pipenv --py) export PYTHON=$(python3 -m pipenv --py)
``` ```
### Build CORE ### Build CORE
@ -74,7 +74,7 @@ sudo make install
This will run the core-daemon server using the configuration files within the repo. This will run the core-daemon server using the configuration files within the repo.
```shell ```shell
python -m pipenv run coredev python3 -m pipenv run coredev
``` ```
## The CORE API ## The CORE API