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 — fabrikam-node/deployapiscript.sh at master · debgmail/fabrikam-node

Expand file tree

/

deployapiscript.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
1 lines (1 loc) · 636 Bytes
/

deployapiscript.sh

Copy path

File metadata and controls

1 lines (1 loc) · 636 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
echo "Starting deployment script run" && sudo apt-get update && curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - && sudo apt-get install -y nodejs && sudo ln -sf /usr/bin/nodejs /usr/bin/node && sudo npm install && sudo apt-get install -y nginx && sudo rm -f /etc/nginx/sites-enabled/default && sudo cp node-api-nginx-config /etc/nginx/sites-available/ && sudo ln -sf /etc/nginx/sites-available/node-api-nginx-config /etc/nginx/sites-enabled/node-api-nginx-config && sudo service nginx restart && sudo npm install -g pm2 && sudo pm2 start -f app.js && sudo pm2 startup systemd && sudo pm2 save && echo "End of script run"
You are visitor 01402792 — 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.