From f63c4bdbfc2c81c19b499d175fafffe579e313e1 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 27 Oct 2021 21:25:37 +0300 Subject: [PATCH] improving install docum --- handbook/troggle/djangostart.html | 58 +++++++++++++++++++++++++++++++ handbook/troggle/placeholder.html | 2 -- handbook/troggle/trogindex.html | 5 ++- handbook/troggle/trogintro.html | 2 +- handbook/troggle/troglaptop.html | 27 +++++++------- 5 files changed, 77 insertions(+), 17 deletions(-) create mode 100644 handbook/troggle/djangostart.html diff --git a/handbook/troggle/djangostart.html b/handbook/troggle/djangostart.html new file mode 100644 index 000000000..9809e16bd --- /dev/null +++ b/handbook/troggle/djangostart.html @@ -0,0 +1,58 @@ + + + + +Handbook Troggle Django install + + + +

CUCC Expedition Handbook

+

Handbook Troggle installing Django

+

When first installing Django, the first thing to test is that Django itself is OK. So run this command, and this is the output you should see. +

+$ django-admin
+
+Type 'django-admin help ' for help on a specific subcommand.
+
+Available subcommands:
+
+[django]
+    check
+    compilemessages
+    createcachetable
+    dbshell
+    diffsettings
+    dumpdata
+    flush
+    inspectdb
+    loaddata
+    makemessages
+    makemigrations
+    migrate
+    runserver
+    sendtestemail
+    shell
+    showmigrations
+    sqlflush
+    sqlmigrate
+    sqlsequencereset
+    squashmigrations
+    startapp
+    startproject
+    test
+    testserver
+    
+
+Note that only Django core commands are listed as settings are not 
+properly configured (error: Requested setting INSTALLED_APPS, but 
+settings are not configured. You must either define the environment 
+variable DJANGO_SETTINGS_MODULE or call settings.configure() before 
+accessing settings.).
+
+
+Return to: Troggle laptop
+Troggle index: +Index of all troggle documents
+
+ + diff --git a/handbook/troggle/placeholder.html b/handbook/troggle/placeholder.html index b3fdf8b09..7233546be 100644 --- a/handbook/troggle/placeholder.html +++ b/handbook/troggle/placeholder.html @@ -10,8 +10,6 @@

Handbook Troggle XXX

git logo -

This is not the page you are looking for. -

This will be replaced with the information you want as soon as someone gets around to writing it. Why not find out how to do this yourself ?


Go on to: Troggle architecture
diff --git a/handbook/troggle/trogindex.html b/handbook/troggle/trogindex.html index 1425dec8a..22fc8ae62 100644 --- a/handbook/troggle/trogindex.html +++ b/handbook/troggle/trogindex.html @@ -25,7 +25,10 @@
  • Troggle Architecture Speculations - as in April 2020
  • Troggle in 2025-2030 - architectural evolution proposal
    -Troggle laptop configuration - how to gset up a software development machine
    +Troggle laptop configuration - how to set up a software development machine
    + Troggle server configuration - how to get troggle running on a new machine (incomplete!)
    Troggle - Data Import - reset and import data