diff --git a/INSTALL.md b/INSTALL.md index 8d016d19..2cd24ac0 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -120,9 +120,17 @@ If it does not work check the log file at logs/pyfedi.log for clues.
## Initialise database, and set up admin account -`flask init-db` +`export FLASK_APP=pyfedi.py` + +`flask db upgrade` + +`flask init-db` + (choose a new username, email address, and password for your PyFedi admin account) +If you see an error message "ModuleNotFoundError: No module named 'flask_babel'" then use `venv/bin/flask` instead of `flask` +for all flask commands. +
## Run the app