An application to track what articles have been read on the economist.
In root
mamba create -n economemo python=3.11
mamba activate economemo
In backend
python3 -m venv venv
source venv/bin/activate
pip install fastapi uvicorn sqlalchemy databases psycopg2-binary
pip freeze > requirements.txt
sudo apt update
sudo apt install postgresql postgresql-contrib
sudo apt install postgresql-client
- Install Postgres@16 for Windows
- Add Windows Firewall Custom Rule per these instructions
- Run
cat /etc/resolv.conf | grep nameserver | awk '{print $2}'
to get the IP of the Postgres Server
Allow invalid certificates for local testing via: chrome://flags/#allow-insecure-localhost