- Notifications
You must be signed in to change notification settings - Fork1
russellmacshane/quick-wordpress
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Quick WordPress Installation using Docker
The goal of this project is to create a quick virtual machine setup with a WordPress installation for testing purposes. The following technologies are automatically installed for you:
- Ubuntu
- Apache
- MariaDB
- PHP
- phpMyAdmin
- WPCli
- WordPress
- InstallDocker
- InstallDocker Compose
- Find a directory on your computer that you'd like to install this repo
$ git clone git@github.com:russellmacshane/quick-wordpress.git
orgit clone https://github.com/russellmacshane/quick-wordpress.git
if you don't have yourssh keys setup$ cd quick-wordpress
- Your are strongly encouraged to modify the default passwords and WordPress setup information in theconfig file
$ docker-compose up -d
- Grab some ☕️ coffee, it'll take a bit to install all the necessary dependencies
- Make sure the container is up and running with
$ docker-compose ps
- Point your web browser over tohttp://localhost/ to view your WordPress site
- You can also get to phpMyAdmin by going tohttp://localhost/phpmyadmin/
- If you'd like to login into the container -
$ docker-compose exec qwp /bin/bash
- WordPress files are located in
/var/www/html
and you can run WPCli commands from there - This repo is mirrored from your local machine over to
/home/docker/quick-wordpress
on your container
- In order to do backup and restores:
$ docker-compose exec qwp qwcli backup
and follow the on screen instructions- If you'd like to restore from a previous backup -
$ docker-compose exec qwp qwcli restore
and follow the on screen instructions
$ docker-compose stop
to stop the container$ docker-compose start
to bring it back up again
- If you are ready to delete your WordPress Container -
$ docker-compose down
About
Quick WordPress Installation using Docker
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.