Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Mention editing settings.py when moving sqlite files

Roland Geider143d9d8c923f
diff --git a/docs/development.rst b/docs/development.rst
index 8d9819008..3c6fd058b 100644
--- a/docs/development.rst
+++ b/docs/development.rst
@@ -41,12 +41,16 @@ The start script places the settings file and the sqlite database in a non
obvious place. For development I suggest moving them to the folder with the
code::
+ $ cd wger
$ python start.py --show-config
Settings file: /home/user/.config/wger/settings.py
Database file: /home/user/.local/share/wger/database.sqlite
- mv /home/user/.config/wger/settings.py .
- mv /home/user/.local/share/wger/database.sqlite
+ $ mv /home/user/.config/wger/settings.py .
+ $ mv /home/user/.local/share/wger/database.sqlite
+
+ $ vim settings.py
+ # Update the path for the sqlite files in DATABASES section
Miscelaneous settings