문서의 이전 판입니다!
process이름-1.log
, process이름-1.error.log
: Standard output and error streams from processes started with a Procfile are captured in log files named after the process and stored in /var/log. For example, the web process in the preceding example generates logs named web-1.log and web-1.error.log for stdout and stderr, respectively.commands: 01_create_dir: test: test ! -d "${DIR}" command: mkdir "${DIR}" # 아래와 같은 식도 가능 test: "[ -x /usr/bin/python ]" # 파이썬이 존재하면 실행
test:
와 함께 사용 불가container_commands: collectstatic: command: "django-admin.py collectstatic --noinput" 01syncdb: command: "django-admin.py syncdb --noinput" leader_only: true