GithubHelp home page GithubHelp logo

bedrock-docker's Introduction

Roots

bedrock-docker

bedrock-docker is a quick way create a Bedrock WordPress install meant for testing and continous integration. It is not a full replacement for development environments like Trellis.

bedrock-docker was developed for integration tests in Bud and Bedrock itself.

Quickstart

Run ./dev.sh to clone bedrock and sage into ./bedrock:

./dev.sh

Configure the WP_HOME and WP_SITEURL variables as needed in .env.

Build and run the container in the background:

docker compose up --build -d

Get a bash session going:

docker compose run bedrock bash

This bash session has access to composer, node and the wordpress cli.

Setup dev environment as needed:

cd web/app/themes/sage
composer install
yarn install
yarn build
wp theme activate sage

Existing installs

  1. Copy build and docker-compose.yml into the root of an existing bedrock install.
  2. Edit services.bedrock.volumes in docker-compose.yml to reference the correct path. ./bedrock:/srv/bedrock becomes ./:/srv/bedrock.

Community

Keep track of development and community news.

bedrock-docker's People

Contributors

kellymears avatar retlehs avatar swalkinshaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bedrock-docker's Issues

sage required php 8.2

Version

latest

What did you expect to happen?

Sage theme auto setup

What actually happens?

At first it's return error that php is currently 8.0 and error message seems reads php 8.2 is minimum requirement

Steps to reproduce

Just install roots/acorn inside bedrock

System info

n/a

Log output

n/a

Please confirm this isn't a support request.

No

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.