summaryrefslogtreecommitdiff
path: root/fs_selfservice/DEPLOY
blob: 63412784ff2e3f2eda6fec041411c805bbcb0917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh

#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 ..

( cd ..; 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