Skip to content

Commit

Permalink
Fix PuPHPet install script to use correct local domain.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonj04 committed Jul 15, 2014
1 parent ecd32b8 commit a85d57f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions puphpet/files/exec-once/install.sh
Expand Up @@ -17,8 +17,8 @@ sed -i 's/define ("BASEDIR","\/home\/user\/theyworkforyou\/docs");/define ("BASE
sed -i 's/define ("RAWDATA", "\/home\/twfy\/pwdata\/");/define ("RAWDATA", "\/data\/twfy\/uml-tests\/parldata\/");/g' /data/twfy/conf/general
sed -i "s/define ('PWMEMBERS', '\/home\/twfy\/parlparse\/members\/');/define ('PWMEMBERS', '\/data\/parlparse\/members\/');/g" /data/twfy/conf/general

sed -i 's/define ("DOMAIN", "www.example.org");/define ("DOMAIN", "www.theyworkforyou.dev");/g' /data/twfy/conf/general
sed -i 's/define ("COOKIEDOMAIN", "www.example.org");/define ("COOKIEDOMAIN", "www.theyworkforyou.dev");/g' /data/twfy/conf/general
sed -i 's/define ("DOMAIN", "www.example.org");/define ("DOMAIN", "theyworkforyou.dev");/g' /data/twfy/conf/general
sed -i 's/define ("COOKIEDOMAIN", "www.example.org");/define ("COOKIEDOMAIN", "theyworkforyou.dev");/g' /data/twfy/conf/general

mkdir /data/parlparse
git clone https://github.com/mysociety/parlparse.git /data/parlparse
Expand Down

0 comments on commit a85d57f

Please sign in to comment.