Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (22 loc) · 857 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 857 Bytes

#Deploy scripts

##Description: Deployment application allows you easy deploy different type of application on many servers via SVN. Allow you autodeploy your application by choosing tag release via setting number of release (from last one). ###Examples:

  • Go to last release:
./prod.sh diem main 1
  • Go to previous release (release before last - rollback from last release):
./prod.sh diem main 2

##How to use:

  1. Copy repo to your server
  2. Fill settings data in ./scripts/{project_type}/main.sh file or create your own settings file.
  3. Run prod.sh file with next params:
./prod.sh {project_type} {setting_file_name_without_sh_extension}(default:"main") {number_of_revisions_in_repo_tags_folder}(default:"1")
  1. Look at logs/{project_type}/{setting_file_name}.log file if some errors there