From 47e9c44c437614ded6a27fa04e1cac64779dc7db Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 2 Sep 2019 17:04:44 +1000 Subject: [PATCH] Prefix correct directory in docs --- docs/deploy.rst | 4 +++- docs/migrate.rst | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/deploy.rst b/docs/deploy.rst index 2ce5e7b255..8708243dc6 100644 --- a/docs/deploy.rst +++ b/docs/deploy.rst @@ -31,7 +31,9 @@ Directories for storing *media* files and *static* files should be specified in Collect Static Files -------------------- -The required static files must be collected into the specified ``STATIC_ROOT`` directory. Run ``python3 manage.py collectstatic`` +The required static files must be collected into the specified ``STATIC_ROOT`` directory: + +``python3 InvenTree/manage.py collectstatic`` Configure Gunicorn ------------------ diff --git a/docs/migrate.rst b/docs/migrate.rst index 78dfb39a6a..03e2aa8514 100644 --- a/docs/migrate.rst +++ b/docs/migrate.rst @@ -12,7 +12,7 @@ In the case that data needs to be migrated from one database installation to ano Export Data ----------- -``python3 manage.py dumpdata --exclude contenttypes --exclude auth.permission --indent 2 > data.json`` +``python3 InvenTree/manage.py dumpdata --exclude contenttypes --exclude auth.permission --indent 2 > data.json`` This will export all data (including user information) to a json data file. @@ -21,13 +21,13 @@ Initialize Database Configure the new database using the normal processes (see `Getting Started `_): -``python3 manage.py makemigrations`` +``python3 InvenTree/manage.py makemigrations`` -``python3 manage.py migrate --run-syncdb`` +``python3 InvenTree/manage.py migrate --run-syncdb`` Import Data ----------- The new database should now be correctly initialized with the correct table structures requried to import the data. -``python3 manage.py loaddata data.json`` \ No newline at end of file +``python3 InvenTree/manage.py loaddata data.json`` \ No newline at end of file