All Projects → alexmacarthur → Wp Skateboard

alexmacarthur / Wp Skateboard

My local WordPress development built with Docker and Docker Compose.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Wp Skateboard

Ddev
DDEV-Local: a local PHP development environment system
Stars: ✭ 915 (+1889.13%)
Mutual labels:  wordpress, local-development, docker-compose
Wordup Cli
Wordup is a fully integrated development platform for WordPress. Develop plugins and themes locally. Preview in the cloud. Automatic updates in WP.
Stars: ✭ 116 (+152.17%)
Mutual labels:  wordpress, docker-compose
Wordpressify
🎈 A build system designed to automate your WordPress development workflow.
Stars: ✭ 1,374 (+2886.96%)
Mutual labels:  wordpress, docker-compose
Beetbox
Pre-provisioned L*MP stack
Stars: ✭ 94 (+104.35%)
Mutual labels:  environment, wordpress
Docker Compose Development
Clone and `bin/dev up`. Quickly start of developing locally with Nginx, PHP, Blackfire, Percona, Mailhog and Redis. Out of the box support for Magento2 Developer Box
Stars: ✭ 171 (+271.74%)
Mutual labels:  local-development, docker-compose
Vv
🌐 Variable VVV - a VVV Site Creation Wizard.‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ❌ This project is no longer maintained. Please update your copy of VVV , which has most of the vv features built in.
Stars: ✭ 1,036 (+2152.17%)
Mutual labels:  wordpress, local-development
Docker Wordpress
WordPress container with Nginx 1.16 & PHP-FPM 7.3 based on Alpine Linux
Stars: ✭ 148 (+221.74%)
Mutual labels:  wordpress, docker-compose
Docker Compose Wordpress
An example Docker Compose setup for WordPress plugin or theme development.
Stars: ✭ 127 (+176.09%)
Mutual labels:  wordpress, docker-compose
Wuxt
Nuxt/WordPress development environment, combining the worlds biggest CMS with the most awesome front-end application framework yet.
Stars: ✭ 459 (+897.83%)
Mutual labels:  wordpress, docker-compose
Wordpress Nginx Docker Compose
Run WordPress with nginx using Docker Compose.
Stars: ✭ 460 (+900%)
Mutual labels:  wordpress, docker-compose
Wordpress Nginx Docker
Wordpress (php7.3-fpm) using Nginx and MariaDB - deployed with docker-compose - Let's Encrypt enabled
Stars: ✭ 498 (+982.61%)
Mutual labels:  wordpress, docker-compose
Porter
A docker based multi-site setup for local PHP development. Inspired by Laravel Valet, Homestead and Vessel.
Stars: ✭ 92 (+100%)
Mutual labels:  local-development, docker-compose
Docker Magento Mutagen
Mage2click Docker-based development environment for Magento with mutagen.io sync for files on macOS
Stars: ✭ 64 (+39.13%)
Mutual labels:  local-development, docker-compose
Wordpress Docker Compose
Easy Wordpress development with Docker and Docker Compose
Stars: ✭ 1,107 (+2306.52%)
Mutual labels:  wordpress, docker-compose
Lando
A development tool for all your projects that is fast, easy, powerful and liberating
Stars: ✭ 3,142 (+6730.43%)
Mutual labels:  environment, wordpress
Docker4wordpress
Docker-based WordPress stack
Stars: ✭ 607 (+1219.57%)
Mutual labels:  wordpress, docker-compose
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (-43.48%)
Mutual labels:  wordpress, docker-compose
Geodirectory
GeoDirectory is the fastest growing Directory plugin for WordPress. Feel free to contribute or suggest new developments and help us take GD to the next level. http://wpgeodirectory.com | http://wordpress.org/plugins/geodirectory/
Stars: ✭ 41 (-10.87%)
Mutual labels:  wordpress
Ci Samples
Sample configurations for various CI systems.
Stars: ✭ 44 (-4.35%)
Mutual labels:  docker-compose
Vessel
Up and running with small Docker environments
Stars: ✭ 1,006 (+2086.96%)
Mutual labels:  docker-compose

WP Skateboard

A bare-bones starter WordPress environment using Docker. Right now, this just quickly sets up a functional local PHP environment and WordPress installation. Out of the box, the container comes installed with tools like Composer and the WP CLI.

How to Stand This Up

Make sure Docker and Docker Compose are installed on your machine.

  1. Clone this repository into a directory.
  2. Navigate into that directory.
  3. Run docker-compose up to turn on the container.
  4. If this is your first time using this environment, run sh setup.sh (outside the running container -- no need to enter it). This will do the following things to get set up:
  • Download & install WordPress.
  • Enable WP debugging.
  • Remove default posts, comments, and terms.
  • Remove default plugins, themes, widgets.
  • Install any dependencies you have noted in your content/composer.json file.
  1. After setup, navigate to http://localhost/wp-admin, where you'll be able to login with admin and password as the username & password.
  2. In the future, just turn on the container by running docker-compose up. This will turn on the container and make the /wordpress directory the web root, with the content directory being mounted inside of that. You should do all of your local development (themes, plugins, etc.) inside the content directory at the root of this project.
  3. When you're done, run docker-compose down to turn off the container.

There are some other commands in the Makefile too, so feel free to check those out or add your own.

Composer for Dependency Management

Composer is installed inside the container for easier dependency management, and a composer.json file is included in the wp-content. These are automatically installed on setup, but you can also install/update them manually using the following command:

docker-compose exec --user root php-fpm /bin/bash -c "cd wp-content && composer install"

Or, to update packages, use:

docker-compose exec --user root php-fpm /bin/bash -c "cd wp-content && composer update"

Mailcatcher

Mailcatcher is setup to trap emails sent from your application. View these emails by going to http://localhost:1080/.

Connect to SQL Database

You can use a tool like Sequel Pro to more easily see what's happening inside your database. To connect, use the following configuration:

Host: 127.0.0.1
Username: root
Password: root
Port: 3306

Other Questions

Where do I put my projects?

Everything should go in the content directory, which will be mounted to the container when it's turned on.

How do I modify the WordPress configuration?

Right now, directory modify the wp-config.php file in the wordpress directory.

How do I navigate the file system of the running container?

Run docker-compose exec --user root php-fpm /bin/bash, or use the make bash shortcut (assuming make is installed).

Can I change the server configuration?

Yes. In the config directory, a default.conf and php.ini file exist for you to customize nginx & PHP as needed. These are mounted to the container when you turn it on.

How do I change the version of PHP?

In the docker-compose.yml file, change the tag in this line: image: 10up/phpfpm:7.2. You can see a list of available tags here.

Thanks

This environment was heavily inspired by 10up and their wp-local-docker project. So, thanks to them.

License

MIT © Alex MacArthur

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].