- Ensure that Python version 3.101 is installed by running
python3.10 --version
- If Python 3.10 is not installed, add the deadsnakes PPA by running
sudo add-apt-repository ppa:deadsnakes/ppa
- Run
sudo apt update
to refresh the cache - Install Python 3.10 by running
sudo apt install python3.10
- Validate that Python 3.10 was installed by running
python3.10 --version
- If Python 3.10 is not installed, add the deadsnakes PPA by running
- Ensure that curl is installed on the system by running
curl --version
- If curl is not installed, run
sudo apt install curl
to install it
- If curl is not installed, run
- Run the command
python3 <(curl -sSL https://raw.githubusercontent.com/VOLTTRON/volttron-installer/develop/web.py)
- Installs the ansible, git, pexpect, pip and python3.10-venv packages if they are not already installed
- Creates and activates a virtual environment in the directory where the script was ran
- Installs the volttron-ansible collection
- Prompts user to choose the amount of instances they want installed (maximum of 5)
- Starts a web server and opens the default browser, pointing to 'http://localhost:8080'
- Navigating the Web Page - 1 instance
- Enter password then click 'Install Base Requirements' to install what is needed for volttron
- After the base requirements have been installed, click 'Create Instance' to create and run the instance
- After installation, pick whatever services are needed for the instance and click 'Install Services'
- Start and stop buttons for the instance are show on the bottom of the page
- Navigating the Web Page - Multiple Instances
- Pick what services are needed for each instance and click 'Configure Instance'
- Navigate to the bottom of the page to enter your password, then click 'Install All Instances'
- Start and stop buttons are provided under 'Configure Instance' for each instance
Footnotes
-
Any version of Python greater than 3.8 will work ↩