fix FK upgrade for pkg_referral: remove records referencing non-existant customer...
[freeside.git] / fs_selfservice / DEPLOY
1 #!/bin/sh
2
3 #this is a quick hack for my dev machine.  do not use it.
4 # see the "make install-selfservice" and "make update-selfservice" makefile
5 # targets to properly install this stuff.
6
7 #kill `cat /var/run/freeside-selfservice-server.fs_selfservice.pid`
8
9 cd FS-SelfService
10 perl Makefile.PL && make && make install
11 cd ..
12
13 #( cd ..; make deploy; cd fs_selfservice )
14 #( cd ..; make clean; make configure-rt; make install-perl-modules; /etc/init.d/freeside restart; cd fs_selfservice )
15 ( cd ..; make clean; make configure-rt; make install-perl-modules; make deploy; cd fs_selfservice )
16
17 #cp /home/ivan/freeside/fs_selfservice/FS-SelfService/cgi/* /var/www/MyAccount
18 #chown freeside /var/www/MyAccount/*.cgi
19 #chmod 755 /var/www/MyAccount/*.cgi
20 #ln -s /var/www/MyAccount/selfservice.cgi /var/www/MyAccount/index.cgi || true
21
22         #cp /home/ivan/freeside/fs_signup/FS-SignupClient/cgi/* /var/www/signup/
23         ##mv /var/www/signup/signup-snarf.html /var/www/signup/signup.html #!!!!!
24         ##mv /var/www/signup/signup-billaddress.html /var/www/signup/signup.html #!!!!!
25         ##mv /var/www/signup/signup-freeoption.html /var/www/signup/signup.html #!!!!!
26         #chown freeside /var/www/signup/signup.cgi
27         #chmod 755 /var/www/signup/signup.cgi
28         #ln -s /var/www/signup/signup.cgi /var/www/signup/index.cgi || true
29
30
31 chmod 755 /var/www/html/selfservice/*.cgi