inital commit

This commit is contained in:
2026-06-19 20:08:01 +06:00
commit 8a5abeeae4
13128 changed files with 3192007 additions and 0 deletions

View 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

View File

@@ -0,0 +1,30 @@
#!/bin/bash
# copies the project directory from 100 server to 98 and 114
function deploy() {
#chown root:root /var/www/html/ -R;
#find /var/www/html/ -type d -exec chmod 777 {} \;
# chmod 777 /opt/app.sipay.com.tr/storage /opt/app.sipay.com.tr/vendor /opt/app.sipay.com.tr/sipayresource -R;
rsync -avzhe ssh --owner --group --progress --recursive --files-from="include.txt" --exclude-from="exclude.txt" "/var/www/html/" "apache@45.55.43.211:/var/www/html/"
# rsync -avzhe ssh --owner --group --progress "/opt/app.sipay.com.tr/sipayresource/assets" "bruce@176.53.6.134:/opt/app.sipay.com.tr/sipayresource/assets"
#/bin/pssh -A -i -H "176.53.6.134" -l apache 'chown -R apache:apache /opt/app.sipay.com.tr/ && chmod -R 1777 /opt/app.sipay.com.tr/bootstrap/cache/ && chmod -R 1777 /opt/app.sipay.com.tr/storage/ && chmod -R 1777 /opt/app.sipay.com.tr/public/files && chmod -R 1777 /opt/app.sipay.com.tr/public/files/ && chmod -R 1777 /opt/app.sipay.com.tr/admin/bootstrap/cache/ && chmod -R 1777 /opt/app.sipay.com.tr/admin/storage/ && chmod -R 1777 /opt/app.sipay.com.tr/admin/public/files && chmod -R 1777 /opt/app.sipay.com.tr/admin/public/files/ && chmod -R 1777 /opt/app.sipay.com.tr/merchant/bootstrap/cache/ && chmod -R 1777 /opt/app.sipay.com.tr/merchant/storage/ && chmod -R 1777 /opt/app.sipay.com.tr/merchant/public/files && chmod -R 1777 /opt/app.sipay.com.tr/merchant/public/files/ && chmod -R 1777 /opt/app.sipay.com.tr/ccpayment/bootstrap/cache/ && chmod -R 1777 /opt/app.sipay.com.tr/ccpayment/storage/ && chmod -R 1777 /opt/app.sipay.com.tr/ccpayment/public/files && chmod -R 1777 /opt/app.sipay.com.tr/ccpayment/public/files/* && cd /opt/app.sipay.com.tr/ && php72 artisan config:cache && cd /opt/app.sipay.com.tr/ && php72 artisan view:clear && cd /opt/app.sipay.com.tr/ && php72 artisan route:clear && cd /opt/app.sipay.com.tr/ && php72 artisan cache:clear && cd /opt/app.sipay.com.tr/admin/ && php72 artisan config:cache && cd /opt/app.sipay.com.tr/admin/ && php72 artisan view:clear && cd /opt/app.sipay.com.tr/admin/ && php72 artisan route:clear && cd /opt/app.sipay.com.tr/admin/ && php72 artisan cache:clear && cd /opt/app.sipay.com.tr/merchant/ && php72 artisan config:cache && cd /opt/app.sipay.com.tr/merchant/ && php72 artisan view:clear && cd /opt/app.sipay.com.tr/merchant/ && php72 artisan route:clear && cd /opt/app.sipay.com.tr/merchant/ && php72 artisan cache:clear && cd /opt/app.sipay.com.tr/ccpayment/ && php72 artisan config:cache && cd /opt/app.sipay.com.tr/ccpayment/ && php72 artisan view:clear && cd /opt/app.sipay.com.tr/ccpayment/ && php72 artisan route:clear && cd /opt/app.sipay.com.tr/ccpayment/ && php72 artisan cache:clear'
#chmod 755 /var/www/html/ -R;
}
#function deploy104() {
# chown apache:apache /opt/app.sipay.com.tr/ -R;
# find /opt/app.sipay.com.tr/ -type d -exec chmod 755 {} \;
# chmod 777 /opt/app.sipay.com.tr/storage /opt/app.sipay.com.tr/vendor /opt/app.sipay.com.tr/sipayresource -R;
# rsync -avzhe ssh --owner --group --progress --exclude-from="exclude.txt" "/opt/app.sipay.com.tr/" "bruce@176.53.34.104:/opt/app.sipay.com.tr"
# rsync -avzhe ssh --owner --group --progress "/opt/app.sipay.com.tr/sipayresource/assets" "bruce@176.53.34.104:/opt/app.sipay.com.tr/sipayresource/assets"
#
# /bin/pssh -A -i -H "176.53.34.104" -l bruce 'chown -R apache:apache /opt/app.sipay.com.tr/ && chmod -R 1777 /opt/app.sipay.com.tr/bootstrap/cache/ && chmod -R 1777 /opt/app.sipay.com.tr/storage/ && chmod -R 1777 /opt/app.sipay.com.tr/public/files && chmod -R 1777 /opt/app.sipay.com.tr/public/files/ && chmod -R 1777 /opt/app.sipay.com.tr/admin/bootstrap/cache/ && chmod -R 1777 /opt/app.sipay.com.tr/admin/storage/ && chmod -R 1777 /opt/app.sipay.com.tr/admin/public/files && chmod -R 1777 /opt/app.sipay.com.tr/admin/public/files/ && chmod -R 1777 /opt/app.sipay.com.tr/merchant/bootstrap/cache/ && chmod -R 1777 /opt/app.sipay.com.tr/merchant/storage/ && chmod -R 1777 /opt/app.sipay.com.tr/merchant/public/files && chmod -R 1777 /opt/app.sipay.com.tr/merchant/public/files/ && chmod -R 1777 /opt/app.sipay.com.tr/ccpayment/bootstrap/cache/ && chmod -R 1777 /opt/app.sipay.com.tr/ccpayment/storage/ && chmod -R 1777 /opt/app.sipay.com.tr/ccpayment/public/files && chmod -R 1777 /opt/app.sipay.com.tr/ccpayment/public/files/* && cd /opt/app.sipay.com.tr/ && php72 artisan config:cache && cd /opt/app.sipay.com.tr/ && php72 artisan view:clear && cd /opt/app.sipay.com.tr/ && php72 artisan route:clear && cd /opt/app.sipay.com.tr/ && php72 artisan cache:clear && cd /opt/app.sipay.com.tr/admin/ && php72 artisan config:cache && cd /opt/app.sipay.com.tr/admin/ && php72 artisan view:clear && cd /opt/app.sipay.com.tr/admin/ && php72 artisan route:clear && cd /opt/app.sipay.com.tr/admin/ && php72 artisan cache:clear && cd /opt/app.sipay.com.tr/merchant/ && php72 artisan config:cache && cd /opt/app.sipay.com.tr/merchant/ && php72 artisan view:clear && cd /opt/app.sipay.com.tr/merchant/ && php72 artisan route:clear && cd /opt/app.sipay.com.tr/merchant/ && php72 artisan cache:clear && cd /opt/app.sipay.com.tr/ccpayment/ && php72 artisan config:cache && cd /opt/app.sipay.com.tr/ccpayment/ && php72 artisan view:clear && cd /opt/app.sipay.com.tr/ccpayment/ && php72 artisan route:clear && cd /opt/app.sipay.com.tr/ccpayment/ && php72 artisan cache:clear'
# chown apache:apache /opt/app.sipay.com.tr/ -R;
# chmod 777 /opt/app.sipay.com.tr/ -R;
#
#}

View File

@@ -0,0 +1,51 @@
/.idea
/vendor
/epicvelocity
/db
/api_resource
/auto_script
/logs
/tmp
/epicvelocity1
/src_OLD
/src.zip
/migrate.zip
/TestDeploymeent
/config/app.constant.php
/config/app.settings.php
/webroot/Staff/pdf
/webroot/Staff/sertg
/webroot/Staff/vendor
/webroot/Staff/dbconfig.php
/webroot/AdminAccountImage
/webroot/AdminAccountImage
/webroot/agreement_signed_content
/webroot/agreenment_contents
/webroot/attach-documents
/webroot/chat_attachment
/webroot/client_agreement_files
/webroot/cmsuser_logo
/webroot/compiles
/webroot/contact_photo
/webroot/epicvelocity/clients_docs
/webroot/epicvelocity/letters
/webroot/epicvelocity/lib
/webroot/epicvelocity/pdf
/webroot/epicvelocity/vendor
/webroot/epicvelocity/images
/webroot/file_path
/webroot/html_content
/webroot/html_history_code
/webroot/invoice-logo
/webroot/media
/webroot/member_education_templates
/webroot/member_help_templates
/webroot/mpdf60
/webroot/payment_vendor
/webroot/project-media-files
/webroot/rtg_optimize
/webroot/supportsfile
/webroot/user-photo
/webroot/velocity
/webroot/dropbox
/webroot/backend

View File

@@ -0,0 +1,17 @@
/config/app.default.php
/config/app.php
/config/bootstrap.php
/config/bootstrap_cli.php
/config/paths.php
/config/routes.php
/src/
/webroot/Staff/
/webroot/Staff/
/webroot/Staff/getSertgInfo.php
/webroot/js
/webroot/css
/webroot/rtgv3
/webroot/new_layout
/webroot/epicvelocity/css
/webroot/epicvelocity/js