diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-06-25 19:28:01 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-06-25 19:28:01 +0300 |
commit | 293eb10ffd5edc8c569e29855bcdb32405ea151f (patch) | |
tree | 98caef7427c4ffa24892727ab924869e2b7e983c /venv-trog.sh | |
parent | d607b30953a7b08ea3573067b46956ae5200181f (diff) | |
download | troggle-293eb10ffd5edc8c569e29855bcdb32405ea151f.tar.gz troggle-293eb10ffd5edc8c569e29855bcdb32405ea151f.tar.bz2 troggle-293eb10ffd5edc8c569e29855bcdb32405ea151f.zip |
New OS and venv tool
Diffstat (limited to 'venv-trog.sh')
-rw-r--r-- | venv-trog.sh | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/venv-trog.sh b/venv-trog.sh index 7c10473..0439008 100644 --- a/venv-trog.sh +++ b/venv-trog.sh @@ -2,17 +2,19 @@ # Run this in a terminal in the troggle directory: 'bash venv-trog.sh' echo 'Run this in a terminal in the troggle directory: "bash venv-trog.sh"' -# Expects an Ubuntu 20.04 relatively clean install. -# Running using SQLite 3.31.1 2020-01-27 19:55:54 +# Expects an Ubuntu 22.04 relatively clean install. +# Running using SQLite version 3.37.2 2022-01-06 13:25:41 # Many permissions conflicts under WSL2 mean more sudo needed # If you have not already installed these on your clean Ubuntu install DO THIS FIRST -# /usr/bin/python --version : ensure python is an alias for python3 not python2.7 +# use the script os-trog.sh + +# python --version : ensure python is an alias for python3 not python2.7 # sudo apt install sqlite3 # sudo apt install python3-pip # this installs a shed-load of other stuff: binutils etc. -# sudo apt install python3.9 -# sudo apt install python3.9-venv -# sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.9 1 +# sudo apt install python3.10 +# sudo apt install python3.10-venv +# sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1 # on WSL there is an oddity that creating a venv trips over a PowerShell permissions issue @@ -30,7 +32,7 @@ echo 'Run this in a terminal in the troggle directory: "bash venv-trog.sh"' # # copy this file and requirements.txt into the directory above where you want to install the VENV -VENAME=p310 # python3.10 and django 3.2 +VENAME=p10d3 # python3.10 and django 3.2 if [ -d requirements.txt ]; then echo "No requirements.txt found. Copy it from your most recent installation." |