mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-12-18 14:32:23 +00:00
59 lines
1.5 KiB
HTML
59 lines
1.5 KiB
HTML
<!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>
|