GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 316189693/deploy.monitor

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
conf
conf
 
 
lib
lib
 
 
public/stylesheets
public/stylesheets
 
 
routes
routes
 
 
views
views
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
app.js
app.js
 
 
bitbucket-pipelines.yml
bitbucket-pipelines.yml
 
 
favicon.ico
favicon.ico
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

this is for project deploy report

  1. use sh file to generate deploy log on server dev check the piplines on bitbuket, such as https://bitbucket.org/logisticsteam-dev/gofuze.io/src/d166694f583e81b90ad0408c1e25c057e40507ce/bitbucket-pipelines.yml, we can see a statement: ssh -o "StrictHostKeyChecking no" serverName "./git.sh git_tms.sh" git.sh as below: ssh root@localhost "(nohup /root/$1) &>> /var/log/deploy/nohup.out && /root/after_deploy.sh $? $1 || /root/after_deploy.sh $? $1" we used ./lib/after_deploy.sh to generate deploy report, this file do not push to server auto need manually change on servers.

  2. nodejs call sh file to cp files from prod servers into dev server see file ./scp_servers_file.sh

  3. analyze datas and show in frontend page see ./load_server_deploy_status.js

  4. apache config see /opt/lampp/etc/extra/httpd-vhosts.conf in dev server, if any change, please run:/opt/lampp/bin/apachectl configtest to test modify correctly. after test, use /opt/lampp/lampp reloadapache to restart apache

final url for this project: http://tms-dev-02.logisticsteam.com/deploy/projects

5.pm2

if use pm2 to start application, please note export root env for pm2, if no,diff user will use diff pm2 env. got root role, on root folder, cretae a file pm2home, export PM2_HOME=/var/www/pm2/.pm2

then on start up sh git_tms_deploy.sh: source /root/pm2home

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.