mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -08:00
update documentation to avoid future migration issues fixes #113
This commit is contained in:
parent
a860ce45cd
commit
39ed5d501b
1 changed files with 9 additions and 1 deletions
10
INSTALL.md
10
INSTALL.md
|
@ -120,9 +120,17 @@ If it does not work check the log file at logs/pyfedi.log for clues.
|
||||||
<div id="initialise-database-and-setup-admin-account"></div>
|
<div id="initialise-database-and-setup-admin-account"></div>
|
||||||
|
|
||||||
## Initialise database, and set up admin account
|
## 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)
|
(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.
|
||||||
|
|
||||||
<div id="run-the-app"></div>
|
<div id="run-the-app"></div>
|
||||||
|
|
||||||
## Run the app
|
## Run the app
|
||||||
|
|
Loading…
Reference in a new issue