My progress so far running PieFed in an Ubuntu 22.04 VM
This is probably just me, but I found INSTALL.md to be a bit confusing.
So, for a fresh install of Ubuntu in a Windows Hyper-V VM, this is the list of steps I took to get something that at least looks like it might be the right thing:
remove unattended-upgrades, and clean up after OS install
cd into pyfedi, set up and enter virtual environment
cd pyfedi python3 -m venv ./venv source venv/bin/activate
use pip to install requirements
pip install wheel pip install -r requirements.txt
edit .env file
cp env.sample .env nano .env
(change SECRET_KEY to some random sequence of numbers and letters)
initialise database, and set up admin account
flask init-db
run the app
flask run
(open web browser at http://127.0.0.1:5000))
(log in with username and password from admin account)
Maybe this will help someone else (or maybe someone has spotted something that I missed - like I say: it looks right when loaded in a browser, but I'm not 100% sure)