django最佳目錄結(jié)構(gòu)
Cloning into 'cookiecutter-django'...
remote: Counting objects: 550, done.
remote: Compressing objects: 100% (310/310), done.
remote: Total 550 (delta 283), reused 479 (delta 222)
Receiving objects: 100% (550/550), 127.66 KiB | 58 KiB/s, done.
Resolving deltas: 100% (283/283), done.
# 工程名字
project_name [Project Name]: mydjango
# 你項(xiàng)目的根目錄名字
project_slug [reddit_clone]: reddit
# 作者
author_name [Daniel Roy Greenfeld]: Daniel Greenfeld
# 郵箱
email [you@example.com]: pydanny@gmail.com
# 項(xiàng)目簡(jiǎn)短介紹
description [Behold My Awesome Project!]: A reddit clone.
# 項(xiàng)目域名
domain_name [example.com]: myreddit.com
# 項(xiàng)目版本號(hào)
version [0.1.0]: 0.0.1
# 開(kāi)源選項(xiàng)
Select open_source_license:
1 - MIT
2 - BSD
3 - GPLv3
4 - Apache Software License 2.0
5 - Not open source # 不開(kāi)源
Choose from 1, 2, 3, 4, 5 (1, 2, 3, 4, 5) [1]: 5
# 時(shí)區(qū)設(shè)置
timezone [UTC]: Asia/shanghai
# 是否是windows系統(tǒng)
windows [n]: y
# 是否使用pycharm編輯器
use_pycharm [n]: y
# 是否使用docker
use_docker [n]: n
# 選擇posrgresql數(shù)據(jù)庫(kù)版本,先選個(gè)默認(rèn),后期換mysql
Select postgresql_version:
1 - 11.3
2 - 10.8
3 - 9.6
4 - 9.5
5 - 9.4
Choose from 1, 2, 3, 4, 5 (1, 2, 3, 4, 5) [1]:
# 要不要用這個(gè)。。不知道,我不用
Select js_task_runner:
1 - None
2 - Gulp
Choose from 1, 2 (1, 2) [1]: 1
# 用不用云服務(wù)上,會(huì)產(chǎn)生很多文件,這里先不用
Select cloud_provider:
1 - AWS
2 - GCP
3 - None
Choose from 1, 2, 3 (1, 2, 3) [1]: 3
# 是否想自己編譯bootstrap
custom_bootstrap_compilation [n]: n
# 是否使用靜態(tài)文件壓縮工具
use_compressor [n]: y
# 是否使用celery
use_celery [n]: y
# 是否使用mailhog
use_mailhog [n]: n
# 是否使用sentry, sentry是一個(gè)云端日志跟蹤和分析平臺(tái),Python實(shí)現(xiàn),同時(shí)也是開(kāi)源平臺(tái),你可以自己搭建自己的sentry云日志跟蹤分析平臺(tái)。后期會(huì)用到
use_sentry [n]: n
# 是否使用whitenoise,whitenoise是一個(gè)Python實(shí)現(xiàn)的靜態(tài)文件host解決方案
use_whitenoise [n]:n
# 是否使用heroku,heroku是一個(gè)國(guó)外的PAAS云平臺(tái),用于部署web app,建議初始選No
use_heroku [n]: n
use_travisci [n]:
keep_local_envs_in_vcs [y]: n
# 是否debug
debug [n]: y
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。