Files
portal_v3/admin/playground/_old/run_setup.sh
equippedcoding-master e2c98790b2 initial commit
2025-09-17 09:37:06 -05:00

28 lines
1.0 KiB
Bash

#!/bin/sh
subdomain=$1 # www
cd /home/cradle2careertxxyz/websites/$subdomain
# tag the website subdomain
echo $subdomain > /home/cradle2careertxxyz/websites/$subdomain/portal/type.txt
# start paypal service
#/home/cradle2careertxxyz/websites/www15/portal/dashboard/services/static/appfactory/payments_systems/paypal/node
#cd /home/cradle2careertxxyz/websites/$subdomain/portal/dashboard/services/static/appfactory/payments_systems/paypal/node/advanced-integration
#npm install;pm2 delete $subdomain;pm2 start server.js --name "$subdomain" -- $subdomain
# attach storage
#cd /home/master/runnables/tmp;unzip webfiles3.zip -d /home/cradle2careertxxyz/websites/www15;chmod -R 775 /home/cradle2careertxxyz/websites/www15; chown -R cradle2careertxxyz.apache /home/cradle2careertxxyz/websites/www15
#Could not find ssl_module; not disabling session tickets
# Saving debug log to /var/log/letsencrypt/letsencrypt.log
# /home/cradle2careertxxyz/websites/www15/portal/dashboard/services/paypal/node/advanced-integration