X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=fs_selfservice%2FDEPLOY;h=3b39a304003169a25372e85da22cd420b468c992;hp=7c68e78ec6e0339cbbcfed84c6e6eb66f9e97475;hb=681a340f6be4184b1472a8e1fa9cd5d074f6f325;hpb=6ff02eb18af2dd61ce2dca064414ca183fa02e6e diff --git a/fs_selfservice/DEPLOY b/fs_selfservice/DEPLOY index 7c68e78ec..3b39a3040 100755 --- a/fs_selfservice/DEPLOY +++ b/fs_selfservice/DEPLOY @@ -1,15 +1,31 @@ #!/bin/sh -( cd ..; make deploy; cd fs_selfservice ) +#this is a quick hack for my dev machine. do not use it. +# see the "make install-selfservice" and "make update-selfservice" makefile +# targets to properly install this stuff. + +#kill `cat /var/run/freeside-selfservice-server.fs_selfservice.pid` cd FS-SelfService perl Makefile.PL && make && make install - cd .. -kill `cat /var/run/freeside-selfservice-server.ivan.pid`; sleep 3 -./freeside-selfservice-server ivan localhost -cp /home/ivan/freeside_current/fs_selfservice/FS-SelfService/cgi/* /var/www/MyAccount -chown freeside /var/www/MyAccount/selfservice.cgi -chmod 4755 /var/www/MyAccount/selfservice.cgi -ln -s /var/www/MyAccount/selfservice.cgi /var/www/MyAccount/index.cgi +#( cd ..; make deploy; cd fs_selfservice ) +#( cd ..; make clean; make configure-rt; make install-perl-modules; /etc/init.d/freeside restart; cd fs_selfservice ) +( cd ..; make clean; make configure-rt; make install-perl-modules; make deploy; cd fs_selfservice ) + +#cp /home/ivan/freeside/fs_selfservice/FS-SelfService/cgi/* /var/www/MyAccount +#chown freeside /var/www/MyAccount/*.cgi +#chmod 755 /var/www/MyAccount/*.cgi +#ln -s /var/www/MyAccount/selfservice.cgi /var/www/MyAccount/index.cgi || true + + #cp /home/ivan/freeside/fs_signup/FS-SignupClient/cgi/* /var/www/signup/ + ##mv /var/www/signup/signup-snarf.html /var/www/signup/signup.html #!!!!! + ##mv /var/www/signup/signup-billaddress.html /var/www/signup/signup.html #!!!!! + ##mv /var/www/signup/signup-freeoption.html /var/www/signup/signup.html #!!!!! + #chown freeside /var/www/signup/signup.cgi + #chmod 755 /var/www/signup/signup.cgi + #ln -s /var/www/signup/signup.cgi /var/www/signup/index.cgi || true + + +chmod 755 /var/www/html/selfservice/*.cgi