From eaa7c31af02985bc70bfe024e57078e6704a2f42 Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Sun, 21 Jul 2019 16:48:55 -0500 Subject: [PATCH] Made getting starting docs a bit more clear --- GeoffreyApp/docs/source/getting_started.rst | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/GeoffreyApp/docs/source/getting_started.rst b/GeoffreyApp/docs/source/getting_started.rst index 1c67e48..6217bd1 100644 --- a/GeoffreyApp/docs/source/getting_started.rst +++ b/GeoffreyApp/docs/source/getting_started.rst @@ -36,29 +36,32 @@ Installing GeoffreyApp From Source git clone https://git.etztech.xyz/ZeroHD/Geoffrey.git GeoffreyApp 2. Change directories into GeoffreyApp - -3. Package Geoffrey :: - python setup.py sdist + cd GeoffreyApp/ -4. Install Geoffrey as a module +3. Install Geoffrey as a module :: - pip3 install dist/GeoffreyApp-2.0.tar.gz + pip3 install -e . -Integrate Geoffrey Into The Django Project +Integrate Geoffrey Into a Django Project ****************************************** -In ``settings.py`` add ``GeoffreyApp`` to ``INSTALLED_APPS`` +1. In ``settings.py`` add ``GeoffreyApp`` to ``INSTALLED_APPS`` +:: -Once installed, run the migrations to setup the database for the first time + INSTALLED_APPS = [ + 'GeoffreyApp', + ... + +2. Once installed, run the migrations to setup the database for the first time :: python manage.py makemigrations python manage.py migrate -Then add the URLs to your projects's ``urls.py`` +3. Then add the URLs to your projects's ``urls.py`` :: path('GeoffreyApp/', include('GeoffreyApp.urls')),