comparison bin/install-k0s-web.sh @ 918:9d89288e3b4c

add script for k0s.org web install
author Jeff Hammel <k0scist@gmail.com>
date Sun, 02 Jun 2024 14:39:08 -0700
parents
children cc3b78bc4c21
comparison
equal deleted inserted replaced
917:372061cd29d7 918:9d89288e3b4c
1 #!/usr/bin/env bash
2
3 set -exuo pipefail
4
5 PYTHON_VERSION="3.7"
6
7 # TODO: take this from "$1"
8 DEST="${HOME}/web3"
9 rm -rf "${DEST}"
10
11 mkdir -p "${DEST}"
12 cd "${DEST}"
13 pyenv install "${PYTHON_VERSION}"
14 pyenv local "${PYTHON_VERSION}"
15 python --version