mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-09 23:28:32 +00:00
improving install docum
This commit is contained in:
58
handbook/troggle/djangostart.html
Normal file
58
handbook/troggle/djangostart.html
Normal file
@@ -0,0 +1,58 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Handbook Troggle Django install</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../css/main2.css" />
|
||||
</head>
|
||||
<body><style>body { background: #fff url(/images/style/bg-system.png) repeat-x 0 0 }</style>
|
||||
<h2 id="tophead">CUCC Expedition Handbook</h2>
|
||||
<h1>Handbook Troggle installing Django</h1>
|
||||
<p>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.
|
||||
<pre>
|
||||
$ django-admin
|
||||
|
||||
Type 'django-admin help <subcommand>' for help on a specific subcommand.
|
||||
|
||||
Available subcommands:
|
||||
|
||||
<font color="red">[django]</font>
|
||||
check
|
||||
compilemessages
|
||||
createcachetable
|
||||
dbshell
|
||||
diffsettings
|
||||
dumpdata
|
||||
flush
|
||||
inspectdb
|
||||
loaddata
|
||||
makemessages
|
||||
makemigrations
|
||||
migrate
|
||||
runserver
|
||||
sendtestemail
|
||||
shell
|
||||
showmigrations
|
||||
sqlflush
|
||||
sqlmigrate
|
||||
sqlsequencereset
|
||||
squashmigrations
|
||||
startapp
|
||||
startproject
|
||||
test
|
||||
testserver
|
||||
</pre>
|
||||
<font color="red"><pre>
|
||||
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.).
|
||||
</pre></font>
|
||||
<hr />
|
||||
Return to: <a href="troglaptop.html">Troggle laptop</a><br />
|
||||
Troggle index:
|
||||
<a href="trogindex.html">Index of all troggle documents</a><br />
|
||||
<hr />
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user