Skip to content

Setup, archive, restore and destroy WordPress test websites on a non-public Raspberry Pi.

License

Notifications You must be signed in to change notification settings

pixolin/wp-on-raspi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi as WordPress test environment

⚠️ Never use this script on a publicly accessible web server! This script is intended for a local test environment only and intentionally uses extremely weak credentials (admin:password for WordPress, root:root for MySQL database).


newsite.sh <sitename> Creates a new wordpress site by adding a new directory in /var/www, adding a virtual hosts file, downloading WordPress, creating wp-config.php, creating a MySQL database and installing WordPress with some default settings.


destroysite.sh <sitename> Destroys an existing website by reverting the steps from newsite.sh.


archive.sh Creates an archive of an existing website, storing wp-confi.php, .htaccess, directory wp-content and a database dump.


restore.sh Restore archive created with archive.sh by installing default WordPress and then restoring the content of an archive file.

About

Setup, archive, restore and destroy WordPress test websites on a non-public Raspberry Pi.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages