diff --git a/_static_snapshot.sh b/_static_snapshot.sh index 4b368fd..93a2f01 100644 --- a/_static_snapshot.sh +++ b/_static_snapshot.sh @@ -4,6 +4,7 @@ rm -r localhost\:3000 wget --html-extension -p -k http://localhost:3000/ wget --html-extension -p -k http://localhost:3000/filter/SectorCategory +wget --html-extension -p -k http://localhost:3000/data-file?Funder=GB&Country=AF&view=false wget --html-extension -p -k http://localhost:3000/activities?SectorCategory=311 wget --html-extension -p -k http://localhost:3000/activity/GB-CHC-285776-ZIM349 @@ -15,10 +16,14 @@ cp -r public/images localhost\:3000/images # update stylesheets to use relative images find localhost\:3000/stylesheets/*.css -exec sed -i remove 's/http:\/\/localhost:3000/../g' {} \; - rm localhost\:3000/stylesheets/*.cssremove -rm localhost\:3000/stylesheets/robots.txt +# change the iframes to point to a particular ip address +#find localhost\:3000/*.html -exec sed -i remove 's/localhost:3000/192\.168\.1\.132:3000/g' {} \; +#find localhost\:3000/activity/*.html -exec sed -i remove 's/localhost:3000/192\.168\.1\.132:3000/g' {} \; + +rm localhost\:3000/*.htmlremove +rm localhost\:3000/activity/*.htmlremove -mv public/robots.x public/robots.txt \ No newline at end of file +mv public/robots.x public/robots.txt