Made getting starting docs a bit more clear
parent
0d3e40289c
commit
eaa7c31af0
|
@ -36,29 +36,32 @@ Installing GeoffreyApp From Source
|
||||||
git clone https://git.etztech.xyz/ZeroHD/Geoffrey.git GeoffreyApp
|
git clone https://git.etztech.xyz/ZeroHD/Geoffrey.git GeoffreyApp
|
||||||
|
|
||||||
2. Change directories into 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 makemigrations
|
||||||
python manage.py migrate
|
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')),
|
path('GeoffreyApp/', include('GeoffreyApp.urls')),
|
||||||
|
|
Loading…
Reference in New Issue