first docker draft

This commit is contained in:
2022-04-25 10:12:27 +02:00
commit 8eaa2a1143
33 changed files with 1497 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/bin/bash
# http://httrack.kauler.com/help/User-defined_structure
# httrack http://dev.performance-art.fr -O ./web -N "%h%p/%n/index%[page].%t" --near --mirror-wizard --quiet --do-not-log -%v2 -X -p7 --robots=0 --footer '' --sockets=99 −−maxrate=99999999 --disable-security-limits −−keepalive
httrack http://dev.performance-art.fr --path ./web --mirror-wizard --update --max-rate=9999999999999 --sockets=99 --near -N "%h%p/%n/index%[page].%t" --robots=0 --keep-alive --footer '' --display --do-not-log --quiet --disable-security-limits -p7 -K3
# --continue
# httrack http://dev.performance-art.fr -O ./web -N "%h%p/%n%[page].%t" --near -WqQ%v --robots=0 --footer ''
# remove the ajax block from home with sed
# move the index @the right place
# mv web/dev.performance-art.fr/index/index.html web/dev.performance-art.fr/index.html
# as the index file moved, replace ../../ by ../ every-were
# find . -type f -name "*.html" -print0 | xargs -0 sed -i 's/\.\.\/\.\.\//\.\.\//g'
# grep -rlZ '\.\.\/\.\.\/' . | xargs -0 sed -i.bak 's/\.\.\/\.\.\//\.\.\//g'
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
# remove the ajax block from home with sed (index.html, fr.html, en.html)
# move external folders (e.g. ajax.googleapis.com) into the dev.performance-art.fr