[devops@DZBXDEV02 ~]$ ll
total 1463934
-rw-rw-r-- 1 devops devops 1463934 Jul 4 14:30 cookiecutter-django.tar.gz
[devops@DZBXDEV02 ~]$
[devops@DZBXDEV02 ~]$ tar -xf cookiecutter-django.tar.gz # 解压
[devops@DZBXDEV02 ~]$ ll
total 1467930
drwxrwxr-x 7 devops devops 4096 Jul 4 14:29 cookiecutter-django
-rw-rw-r-- 1 devops devops 1463934 Jul 4 14:30 cookiecutter-django.tar.gz
[devops@DZBXDEV02 ~]$ # 我cookiecutter安装在/usr/local/python3/bin/cookiecutter
[devops@DZBXDEV02 ~]$ /usr/local/python3/bin/cookiecutter cookiecutter-django
project_name [My Awesome Project]: test
project_slug [test]:
description [Behold My Awesome Project!]:
author_name [Daniel Roy Greenfeld]:
domain_name [example.com]:
email [daniel-roy-greenfeld@example.com]:
version [0.1.0]:
Select open_source_license:
1 - MIT
2 - BSD
3 - GPLv3
4 - Apache Software License 2.0
5 - Not open source
Choose from 1, 2, 3, 4, 5 (1, 2, 3, 4, 5) [1]: 1
timezone [UTC]:
windows [n]:
use_pycharm [n]: y
use_docker [n]: n
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]: 1
Select js_task_runner:
1 - None
2 - Gulp
Choose from 1, 2 (1, 2) [1]: 1
Select cloud_provider:
1 - AWS
2 - GCP
3 - None
Choose from 1, 2, 3 (1, 2, 3) [1]: 3
custom_bootstrap_compilation [n]: y
use_compressor [n]: y
use_celery [n]: y
use_mailhog [n]: n
use_sentry [n]: n
use_whitenoise [n]: n
use_heroku [n]: n
use_travisci [n]: n
keep_local_envs_in_vcs [y]: n
debug [n]: y
[WARNING]: You chose not to use a cloud provider, media files won't be served in production.
[SUCCESS]: Project initialized, keep up the good work!
[devops@DZBXDEV02 ~]$