Setup virtual environment on local machine
# install venv
python3 -m venv venv
# activate venv
source venv/bin/activate
# install Flask
pip3 install Flask
Install Repl.it
https://replit-py.readthedocs.io/en/latest/
# install replit
pip3 install replit
Remote db
# get the db url from remote replit shell
echo $REPLIT_DB_URL
Local machine...
#set the environment variable in bash venv on local machine
export REPLIT_DB_URL="<REPLIT_DB_URL>"