inital commit
This commit is contained in:
32
auto_script/auto_deploy.txt
Normal file
32
auto_script/auto_deploy.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
Git repo add for RTG (test server)
|
||||
====================================
|
||||
1. git remote rm origin (If have already a repo on it, we need to remove it)
|
||||
2. git remote add origin <repo_url> (e.g, git remote add origin https://imranchtl2019@bitbucket.org/rajibcuetcse/rtgv4.git)
|
||||
3. git config master.remote origin
|
||||
4. git config master.merge refs/heads/master
|
||||
|
||||
If above done successfully. Now your repo has been configured. you can take pull/push/commit
|
||||
|
||||
for pull
|
||||
===========
|
||||
git pull origin master
|
||||
|
||||
for commit
|
||||
===========
|
||||
git add <necessary files path> [for all files type ".", (e.g, git add .)]
|
||||
git commit -m "<your message>"
|
||||
|
||||
for push
|
||||
===========
|
||||
git push origin master
|
||||
|
||||
deployment from test server to destination server
|
||||
=====================================================
|
||||
1. check destination server ip is correct from /sendtoproduction/.custom_commands.sh
|
||||
2. cd /sendtoproduction (hit enter)
|
||||
3. source .custom_commands.sh (hit enter)
|
||||
4. deploy (hit enter)
|
||||
|
||||
If above done successfully. your files has been deployed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user