Use venv for base hub environment

- TLJH should support raspberry pi, which runs ARM. conda does
  not support ARM.
- Get nodejs from nodesource instead of conda or default repositories.
  Default repositories get out of date pretty quickly.
- Install CHP from npm
This commit is contained in:
yuvipanda
2018-07-19 17:30:09 -07:00
parent 5007911d59
commit fc0ecb6699
6 changed files with 227 additions and 117 deletions

10
tests/test_installer.py Normal file
View File

@@ -0,0 +1,10 @@
"""
Unit test functions in installer.py
"""
from tljh import installer
import os
def test_ensure_node():
installer.ensure_node()
assert os.path.exists('/usr/bin/node')