From 95d2a990f42f49d0488bf67f8d4609486dbbb9f6 Mon Sep 17 00:00:00 2001 From: Philipp Le Date: Tue, 3 Nov 2020 00:03:49 +0100 Subject: Got plugin installation working --- prepare.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 prepare.sh (limited to 'prepare.sh') diff --git a/prepare.sh b/prepare.sh new file mode 100755 index 0000000..b0ebb48 --- /dev/null +++ b/prepare.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +mkdir -p run/wordpress +cp -r wordpress/* run/wordpress/ +chown -R 33:33 run/wordpress + +mkdir -p run/html +chown -R 33:33 run/html + +mkdir -p run/html/wp-admin +mkdir -p run/html/wp-content +mkdir -p run/html/wp-includes +touch run/html/index.php +touch run/html/license.txt +touch run/html/readme.html +touch run/html/wp-activate.ph +touch run/html/wp-blog-header.php +touch run/html/wp-comments-post.php +touch run/html/wp-cron.php +touch run/html/wp-links-opml.php +touch run/html/wp-load.php +touch run/html/wp-login.php +touch run/html/wp-mail.php +touch run/html/wp-settings.php +touch run/html/wp-signup.php +touch run/html/wp-trackback.php +touch run/html/xmlrpc.php + +touch run/html/wp-config.php + +mkdir -p run/wp-content +touch run/wp-content/index.php +mkdir -p run/wp-content/plugins +chown -R 33:33 run/wp-content +touch run/wp-content/plugins/index.php +touch run/wp-content/plugins/hello.php + +mkdir -p run/wp-content/plugins/bootstrap-file-list + +mkdir -p run/wp-content/themes/ +mkdir -p run/wordpress/wp-content/themes/farafeit + -- cgit v1.1