Code Monkey home page Code Monkey logo

stack-example-wordpress's Introduction

stack-example-wordpress

Example project for running a classic WordPress setup on the Bitpoke Stack.

Quickstart

Just fork this repo and you are good to go. After cloning your repo you need to install WordPress into wp folder. To do so, you can run:

$ wp core download --path=wp

Building docker images

The Bitpoke Stack provides a base image for building and developing classic WordPress sites. The Dockerfile is as simple as:

FROM docker.io/bitpoke/wordpress-runtime:6.0.3

Development

Local development can be done as you normally do, either running php locally, or using docker or vagrant. The recommended way is to use docker-compose.

wp-cli local server

This repo comes with wp-cli configured. To start the server you just need to run:

$ wp server

docker and docker-compose

The docker-compose.yaml in this repo provides a good starting point for doing local development with docker. To boot up WordPress and MySQL server just run:

$ docker-compose up -d

NOTE: If you are using docker compose, remember that the image built from the above Dockerfile already includes nginx and it's accessible on port 8080. For customizing the environment also check https://github.com/bitpoke/stack-runtimes/tree/master/php#php-runtime.

stack-example-wordpress's People

Contributors

bitpoke-bot avatar calind avatar milero avatar amecea avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.