Made getting starting docs a bit more clear

doc_update
Joey Hines 2019-07-21 16:48:55 -05:00
parent 0d3e40289c
commit eaa7c31af0
1 changed files with 12 additions and 9 deletions

View File

@ -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')),