From 050db13e0c64e7a63646a8f45da74f734923dd9f Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 7 Dec 2012 18:15:09 +0100 Subject: [PATCH] more doc --- README | 4 +++- devel/django-install.txt | 8 ++------ devel/run-locally.txt | 20 ++++++++++++++++++++ 3 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 devel/run-locally.txt diff --git a/README b/README index e7b5192d..18f7ac97 100644 --- a/README +++ b/README @@ -1,4 +1,6 @@ -The contents of this module: +This file documents the contents of this module + +See devel/ for more devel-oriented doc. ==================== 1st level subdirs * myslice: diff --git a/devel/django-install.txt b/devel/django-install.txt index 72e83d24..fcdbd2a1 100644 --- a/devel/django-install.txt +++ b/devel/django-install.txt @@ -1,4 +1,4 @@ -versions collected as of nov 14 2012 +Versions collected as of nov 14 2012 ======================================== MAC I'm using macports @@ -43,8 +43,4 @@ and I was getting a lot of warnings relating to that anyways . manage.py syncdb . manage.py collectstatic --noinput -======================================== django-insert-above -this package was downloaded in source doce from github and installed -as-is as insert_above, and enabled as the README has it - -======================================== +==================== diff --git a/devel/run-locally.txt b/devel/run-locally.txt new file mode 100644 index 00000000..4709ce91 --- /dev/null +++ b/devel/run-locally.txt @@ -0,0 +1,20 @@ +In order to run this module in standalone mode + + * install python and django for your OS (see devel/django-install.txt) + + * make syncdb + that won't hurt + + * make collectstatic + although this is not really needed anymore now that we have a single + location for tempaltes and static, but if any static file gets added + in some other place, this will be important + + * manage.py runserver 0.0.0.0:8080 + for a one-shot run of the local server + + * if you need to often restart the server, you can use + devel/server-loop.sh + that runs 'manage runserver ...' in an endless loop, just hit ctrl-C + to kill the current server instance and run another one + -- 2.43.0