Typos and errors in Docker manual install instructions

General Discussion

Typos and errors in Docker manual install instructions

Postby twodeeman » Wed Dec 20, 2017 2:05 pm

Anyone who tries to follow the manual install instructions for the web app that are given on github is in for trouble. There are several errors in both the gunicorn and the docker installs.

In the Docker instructions:

There is a missing dependency for dirmngr -- add this to the list of installs on the second step of the Docker install.

"deb" is misspelled in the fourth step of the Docker install. It should should start: ' echo "deb '.

The instructions never actually tell you to grab the alarm-decoder install files!! Not every beginner
intuitively knows to use git. A line like this should be added
sudo git clone http://github.com/nutechsoftware/alarmd ... docker.git

And finally, when I type ./install.sh the installation dies with

Downloading/unpacking cryptography>=0.4 (from -r requirements.txt (line 26))
Running setup.py (path:/tmp/pip-build-fX4yA4/cryptography/setup.py) egg_info for package cryptography
error in cryptography setup command: Invalid environment marker: python_version < '3'
Complete output from command python setup.py egg_info:
error in cryptography setup command: Invalid environment marker: python_version < '3'

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-fX4yA4/cryptography
Storing debug log for failure in /root/.pip/pip.log
The command '/bin/sh -c sudo pip install -r requirements.txt' returned a non-zero code: 1
Failed to build docker container...

Does anybody know how to fix this?
twodeeman
newt
newt
 
Posts: 9
Joined: Tue Nov 14, 2017 5:42 pm

Re: Typos and errors in Docker manual install instructions

Postby kevin » Mon Dec 25, 2017 6:13 pm

Try using pull instead of install

Looks like specific version of package will need to be specified to install for python2
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am


Return to General

Who is online

Users browsing this forum: No registered users and 30 guests

cron