Upgrading to Python 3.11 & Latest Update
This page will be deleted and is pretty much only for notes.
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.11-dev python3.11-full
# Create virtual env
python3.11 -m venv .env
activate .env/bin/activate
pip install -r requirements.txt
# Clean out old thumbnails
find homestead/media/CACHE/images -maxdepth 1 -mindepth 1 ! -name 'jobs' -type d -exec rm -frv {} +
find homestead/media/CACHE/images -maxdepth 1 -mindepth 1 ! -name 'jobs' ! -type d -exec rm -v {} +
rm homstead/media/CACHE/images/Jobs/None -rf
pm migrate
# Regenerate all thumbnails: use "--script-args clear" to remove the old cached files
pm runscript update_thumbnails --script-args clear
# Set COMBINE_COMPONENTS settings to True
No Comments