diff options
| author | Philipp Le <philipp-le-prviat@freenet.de> | 2020-11-03 00:03:49 +0100 |
|---|---|---|
| committer | Philipp Le <philipp-le-prviat@freenet.de> | 2020-11-03 00:03:49 +0100 |
| commit | 95d2a990f42f49d0488bf67f8d4609486dbbb9f6 (patch) | |
| tree | 5766d874412c8296412259f3d3b2226796b6cca9 /prepare.sh | |
| parent | c8b874612e212c553858f0c11e72b42c09827de5 (diff) | |
| download | farafeit-wp-docker-compose-95d2a990f42f49d0488bf67f8d4609486dbbb9f6.zip farafeit-wp-docker-compose-95d2a990f42f49d0488bf67f8d4609486dbbb9f6.tar.gz farafeit-wp-docker-compose-95d2a990f42f49d0488bf67f8d4609486dbbb9f6.tar.bz2 | |
Got plugin installation working
Diffstat (limited to 'prepare.sh')
| -rwxr-xr-x | prepare.sh | 42 |
1 files changed, 42 insertions, 0 deletions
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 + |
