This commit was generated by cvs2svn to compensate for changes in r2523,
[freeside.git] / install / freebsd / INSTALL
1 #!/bin/sh
2
3 ( cd /usr/ports/sysutils/portupgrade
4   make install
5 )
6
7 pkgdb -u
8
9 portinstall -PR cvsup-without-gui
10
11 cp /usr/share/examples/cvsup/ports-supfile /root
12 perl -pi -e 's/CHANGE_THIS/cvsup1/;' /root/ports-supfile
13 cvsup /root/ports-supfile
14
15 for port in `grep -v '^ *#' ports`; do
16   #cd /usr/ports/$port
17   #make install || exit
18   portinstall -P -R $port || exit
19 done
20
21 for a in Net::SSH DBIx::DBSchema HTML::Widgets::SelectLayers Time::Duration Business::CreditCard; do perl -MCPAN -e"install $a"; done
22
23 su -l pgsql -c initdb
24
25 /usr/local/etc/rc.d/010.pgsql.sh start
26
27 pw user add freeside -m
28
29 su -l pgsql -c 'createuser -P freeside'
30
31 su -l freeside -c 'createdb freeside'
32
33 #?
34 cd ../..
35 make install-perl-modules
36 make create-config
37 make deploy
38
39 #edit apache config, etc.
40