From 7790d4aa00bc3e22c5f55b68ac2e258db9b6000d Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Fri, 11 Sep 2020 16:26:13 -0700 Subject: [PATCH] docs: update install.md to denote the option for installing locally and reference that as a possibility in other instructions --- docs/install.md | 72 ++++++++++++++++++++++++++++++++++++------------- install.sh | 2 +- tasks.py | 7 +++-- 3 files changed, 59 insertions(+), 22 deletions(-) diff --git a/docs/install.md b/docs/install.md index 7b5014c4..02193994 100644 --- a/docs/install.md +++ b/docs/install.md @@ -74,11 +74,14 @@ sudo apt remove core ## Automated Installation -The automated install will install the various tools needed to help automate -the CORE installation (python3, pip, pipx, invoke, poetry). The script will -also automatically clone, build, and install the latest version of OSPF MDR. -Finally it will install CORE scripts and a systemd service, which have -been modified to use the installed poetry created virtual environment. +The automated install will install do the following: +* install base tools needed for installation + * python3, pip, pipx, invoke, poetry +* installs system dependencies for building core +* installs latest version of [OPSF MDR](https://github.com/USNavalResearchLaboratory/ospf-mdr) +* installs core into poetry managed virtual environment or locally, if flag is passed +* installs scripts pointing to python interpreter being used +* installs systemd service, disabled by default After installation has completed you should be able to run the various CORE scripts for running core. @@ -92,10 +95,11 @@ git clone https://github.com/coreemu/core.git cd core # run install script -# script usage: install.sh [-d] [-v] +# script usage: install.sh [-v] [-d] [-l] [-p ] # # -v enable verbose install # -d enable developer install +# -l enable local install, not compatible with developer install # -p install prefix, defaults to /usr/local ./install.sh ``` @@ -117,16 +121,17 @@ After the installation complete it will have installed the following scripts. | Name | Description | |---|---| +| core-cleanup | tool to help removed lingering core created containers, bridges, directories | +| core-cli | tool to query, open xml files, and send commands using gRPC | | core-daemon | runs the backed core server providing TLV and gRPC APIs | | core-gui | runs the legacy tcl/tk based GUI | -| core-pygui | runs the new python/tk based GUI | -| core-cleanup | tool to help removed lingering core created containers, bridges, directories | | core-imn-to-xml | tool to help automate converting a .imn file to .xml format | +| core-manage | tool to add, remove, or check for services, models, and node types | +| core-pygui | runs the new python/tk based GUI | +| core-python | provides a convenience for running the core python virtual environment | | core-route-monitor | tool to help monitor traffic across nodes and feed that to SDT | | core-service-update | tool to update automate modifying a legacy service to match current naming | | coresendmsg | tool to send TLV API commands from command line | -| core-cli | tool to query, open xml files, and send commands using gRPC | -| core-manage | tool to add, remove, or check for services, models, and node types | ## Running User Scripts @@ -142,28 +147,57 @@ environment interpreter or to run a script within it. core-python