This repository has been archived by the owner on Mar 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Liota-lite Code Changes remove pip dependency and resolving paths
- Loading branch information
Showing
11 changed files
with
70 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,35 @@ | ||
# Liota-Lite | ||
Little IoT Agent-lite (liota) is the trimmed version of actual Liota, it doesn't include any example files,user-packages and additional libraries required for various DCC`s. | ||
|
||
# Installation | ||
Clone the Liota Repo or download the [Liota release](https://github.com/vmware/liota/releases) | ||
|
||
Liota requires a Python 2.7.9+ environment already installed. | ||
|
||
Copy MANIFEST.in, requirements.txt and setup.py to the main directory (one directory above) to install Liota-lite. | ||
```bash | ||
$ cd liota/liota-lite | ||
$ cp MANIFEST.in requirements.txt setup.py ../ | ||
$ cd ../ | ||
``` | ||
|
||
Liota-lite can be installed as per the command below: | ||
```bash | ||
$ sudo python setup.py install | ||
``` | ||
|
||
Post liota installation either you can manually copy the config files from "/usr/lib/liota/config/" to "/etc/liota" and create "/var/log/liota" directory. | ||
Or you can use the helper script "post-install-setup.sh" to copy the config files which exist at the path "/usr/lib/liota". The script on execution by default checks if the "liota" non-root user exist if it doesn't then non-root "liota" user is required to be created manually. | ||
If you require Liota to be installed with the different non-root user which pre-exists on the system then the script will be required to be executed in the following way: | ||
|
||
```bash | ||
$ cd /usr/lib/liota | ||
$ LIOTA_USER="non-root user" ./post-install-setup.sh | ||
``` | ||
|
||
It Liota is required to be installed as root user (not the preferred way) then the script should be executed in the following way: | ||
|
||
```bash | ||
$ cd /usr/lib/liota | ||
$ LIOTA_USER="root" ./post-install-setup.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
CoAPthon==4.0.2 | ||
aenum==1.4.5 | ||
linux-metrics==0.1.4 | ||
mock==2.0.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ | |
# | ||
|
||
PACKAGE_NAME = "liota" | ||
PACKAGE_VERSION = "0.2.1" | ||
PACKAGE_VERSION = "0.3.1" | ||
|
||
# | ||
# Functions | ||
|