-
Notifications
You must be signed in to change notification settings - Fork 3
Django App
Siqi Tian edited this page Feb 5, 2017
·
1 revision
Apache <-> wsgi.py
MySQL <-> models.py
App initiation HTTP Request
v
Apache WebAuth
v
auth.py ... admin.py <- urls.py
^ v ^v
settings.py <-> console.py <- views.py -> dash.py
v v ^
env.py gdrive <- gdrive.py job cache.py job
pandoc
cron job
| Path | Description | |
|---|---|---|
backup/ |
Backup *.tgz files. | |
cache/ |
System log files and cached system status JSON files. | |
config/ |
Configuration *.conf server secrets. | |
data/ |
User uploaded resources. This folder is accessible through url /site_data/. | |
media/ |
Static assets for front-end. This folder is accessible through url /site_media/. | |
admin/ |
Admin related HTML and others. | |
css/ |
CSS styling files. | |
fonts/ |
Glyphicon and Raleway, Lato font resource. | |
html/ |
Public, group and admin HTML templates. | |
images/ |
Public and group image files, contains sprites. | |
js/ |
Javascript files. Subcategorized into admin/, group/, public/ and suit/. |
|
src/ |
python back-end scripts. | |
management/commands/ |
Django management command scripts. | |
*.sh |
bash commands for multiple server tasks (supplementing Django management commands). |
New Admin Setup
Admin Responsibility
Server Environment
Overview
Linux
Python