Merge branch 'master' into enhancements

pull/4/head
Rajath Ganesh 2020-10-14 12:10:16 -04:00
commit e1a78369bf
4 changed files with 40 additions and 5 deletions

6
.gitignore vendored
View File

@ -7,6 +7,8 @@ testbed/log
*.deb
.vscode/
venv/
__init__.py
__pycache__/
*.py[cod]
*.py[cod]
ev-tools.sh

View File

@ -20,8 +20,41 @@ Run the command to view all options:
evt -h
```
```
usage: evt-tools.py [-h] [--sync] [--clean] [--deps] [--src] [--debpak] [--testbed] [--venv] [--xmpp] [--build_docker] [--build_webrtc] [--build_webrtc_release]
[--build_webrtc_raspberry_debug] [--build_webrtc_raspberry_release] [--build_tincan] [--build_tincan_release] [--build_tincan_raspberry_debug]
[--build_tincan_raspberry_release] [--all]
A collection of all the tools which can be used to deploy EdgeVPN
optional arguments:
-h, --help show this help message and exit
--sync Syncs the tools repo with the correct version of the tools script.You need to clone the evio repository a directory above for this to work.
--clean Cleans the code from all the locations to prepare for a fresh installation.
--deps Installs system-wide the necessary build tools.
--src Clones EVIO repo.
--debpak Generates the Debian package.
--testbed Installs required dependencies for a testbed.
--venv Setup the virtual environment.
--xmpp Install openfire server.
--build_docker Builds the docker image if you have already built the debian package.
--build_webrtc Clones and builds the webrtc libraries for ubuntu and returns a debug build.
--build_webrtc_release
Clones and builds the webrtc libraries for ubuntu and returns a release build.
--build_webrtc_raspberry_debug
Clones and builds the webrtc libraries for raspberry and returns a debug build.
--build_webrtc_raspberry_release
Clones and builds the webrtc libraries for raspberry and returns a release build.
--build_tincan Builds the tincan debug executable for ubuntu. It assumes you have the webrtc libraries already cloned or built
--build_tincan_release
Builds the tincan release executable for ubuntu. It assumes you have the webrtc libraries already cloned or built
--build_tincan_raspberry_debug
Builds the tincan debug executable for raspberry. It assumes you have the webrtc libraries already cloned or built
--build_tincan_raspberry_release
Builds the tincan release executable for raspberry. It assumes you have the webrtc libraries already cloned or built
--all Setup the whole environment.
```
```
evt --sync
```
## TO DO
Move to one output folder. Run sync before any command.

View File

@ -16,7 +16,7 @@ class EvtTools:
parser.add_argument("--clean", action="store_true", default=False, dest="clean",
help="Cleans the code from all the locations to prepare for a fresh installation.")
parser.add_argument("--deps", action="store_true", default=False, dest="deps",
help="Installs the required build tools.")
help="Installs system-wide the necessary build tools.")
parser.add_argument("--src", action="store_true", default=False, dest="src",
help="Clones EVIO repo.")
parser.add_argument("--debpak", action="store_true", default=False, dest="debpak",

2
scripts/update-limits.sh 100644 → 100755
View File

@ -28,4 +28,4 @@ select yn in "Yes" "No"; do
No ) exit;;
esac
done
reboot
sysctl -p