1.0.108 • Published 7 months ago

blockbite v1.0.108

Weekly downloads
-
License
GPL-2.0-or-later
Repository
-
Last release
7 months ago

directory

create a '_blockbite' folder in the root of your ddev projects folders

  • blockbite
  • project a
  • project b

clone this repo into the '_blockbite' folder

  • _blockbite -- blockbite-dev

development

create a .env file in blockbite-dev repo enter the project url you want to get this plugin to work in

BASE_URL=https://example.ddev.site
npm install

ddev

Use the blockbite-dev version between projects if needed

go into the .ddev of your project folder example/.ddev/

create a file caled

docker-compose.mounts.yaml

now set the paths to your share blockbite-dev folder

version: "1.0"
services:
  web:
    volumes:
      - "$HOME/Documents/projects/_blockbite/blockbite-dev:/var/www/html/web/app/plugins/blockbite-dev"

within your project's composer.json

  "repositories": [
  {
      "type": "path",
      "url": "/Users/yourcomputername/Documents/projects/_blockbite/blockbite-dev",
      "options": {
        "symLink": true
      }
    }

run

ddev composer install

now go to your shared '_blockbite' folder

npm run start

You can now develop the blockbite plugin further within your projects