를 들어 수확 또는 기타 인기있는 도구/소프트웨어의 검색 변경 데이터베이스 서버 또는 기타 구성의 경우 코드를 동일한 저장소 또는 분기에 보관하여 유지 관리를 쉽게 할 수 있습니다.
대신 다른 환경에 대한 설정이 다른 구성 파일을 가지고 있어야합니다. 예를 들어,이 연습이나 개념은 Zend Framework 프로젝트에서 널리 사용됩니다.
application.ini
; Production site configuration data
[production]
webhost = www.example.com
database.adapter = pdo_mysql
database.params.host = db.example.com
database.params.username = dbuser
database.params.password = secret
database.params.dbname = dbname
; Staging site configuration data inherits from production and
; overrides values as necessary
[staging : production]
database.params.host = dev.example.com
database.params.username = devuser
database.params.password = devsecret
각 릴리스 다른 버전을 제공 할 수 있습니다. – akshayb
죄송합니다. 이해가되지 않습니다. 조금만 알려주십시오. 감사합니다 – AAhad