Skip to content

Commit

Permalink
🚚 move to ddev domain (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler36 authored Feb 3, 2023
1 parent 8f4441f commit def6b2a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defaults:
shell: bash

env:
NIGHTLY_DDEV_PR_URL: "https://nightly.link/drud/ddev/actions/runs/1720215802/ddev-linux-amd64.zip"
NIGHTLY_DDEV_PR_URL: "https://nightly.link/ddev/ddev/actions/runs/1720215802/ddev-linux-amd64.zip"
# Allow ddev get to use a github token to prevent rate limiting by tests
DDEV_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -46,21 +46,21 @@ jobs:
mkcert -install
- name: Use ddev stable
if: matrix.ddev_version == 'stable'
run: brew install drud/ddev/ddev
run: brew install ddev/ddev/ddev
- name: Use ddev edge
if: matrix.ddev_version == 'edge'
run: brew install drud/ddev-edge/ddev
run: brew install ddev/ddev-edge/ddev
- name: Use ddev HEAD
if: matrix.ddev_version == 'HEAD'
run: brew install --HEAD drud/ddev/ddev
run: brew install --HEAD ddev/ddev/ddev
- name: Use ddev PR
if: matrix.ddev_version == 'PR'
run: |
curl -sSL -o ddev_linux.zip ${NIGHTLY_DDEV_PR_URL}
unzip ddev_linux.zip
mv ddev /usr/local/bin/ddev && chmod +x /usr/local/bin/ddev
- name: Download docker images
run: |
run: |
mkdir junk && pushd junk && ddev config --auto && ddev debug download-images >/dev/null
docker pull realobjects/pdfreactor >/dev/null
- name: tmate debugging session
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[![tests](https://github.com/drud/ddev-pdfreactor/actions/workflows/tests.yml/badge.svg)](https://github.com/drud/ddev-pdfreactor/actions/workflows/tests.yml) ![project is maintained](https://img.shields.io/maintenance/yes/2024.svg)
[![tests](https://github.com/ddev/ddev-pdfreactor/actions/workflows/tests.yml/badge.svg)](https://github.com/ddev/ddev-pdfreactor/actions/workflows/tests.yml) ![project is maintained](https://img.shields.io/maintenance/yes/2024.svg)

## What is ddev-pdfreactor?

This repository allows you to quickly install [PDFreactor](https://www.pdfreactor.com/) into a [Ddev](https://ddev.readthedocs.io) project using just `ddev get drud/ddev-pdfreactor`.
This repository allows you to quickly install [PDFreactor](https://www.pdfreactor.com/) into a [Ddev](https://ddev.readthedocs.io) project using just `ddev get ddev/ddev-pdfreactor`.

## Installation

1. `ddev get drud/ddev-pdfreactor`
1. `ddev get ddev/ddev-pdfreactor`
2. `ddev restart`

## Explanation
Expand All @@ -23,7 +23,7 @@ This pdfreactor recipe for [ddev](https://ddev.readthedocs.io) installs a [`.dde
```php
<?php
// Include PDFreactor class
// You can download the PDFreactor Web Service PHP client from:
// You can download the PDFreactor Web Service PHP client from:
// http://www.pdfreactor.com/download/get/?product=pdfreactor&type=webservice_clients&jre=false
require_once('PDFreactor.class.php');
use com\realobjects\pdfreactor\webservice\client\PDFreactor;
Expand All @@ -36,7 +36,7 @@ $config = [
'document'=> 'http://www.pdfreactor.com/product/samples/textbook/textbook.html',
];

// Render document and save result to $result
// Render document and save result to $result
$result = null;
try {
$result = $pdfReactor->convertAsBinary($config);
Expand All @@ -62,7 +62,7 @@ ddev exec php vendor/pimcore/pimcore/bin/pimcore-install --admin-username admin
```
2. Install ddev-pdfreactor Addon
```
ddev get drud/ddev-pdfreactor
ddev get ddev/ddev-pdfreactor
ddev restart
```
3. Config
Expand All @@ -84,7 +84,7 @@ ddev restart

4. Test a Print document
1. Execute Maintenance Worker:

`ddev php bin/console messenger:consume pimcore_core pimcore_maintenance`

3. Go to the demo Print catalog (/print/Demo-Catalog)
Expand Down
4 changes: 2 additions & 2 deletions tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ teardown() {
@test "install from release" {
set -eu -o pipefail
cd ${TESTDIR} || ( printf "unable to cd to ${TESTDIR}\n" && exit 1 )
echo "# ddev get drud/ddev-pdfreactor with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
ddev get drud/ddev-pdfreactor
echo "# ddev get ddev/ddev-pdfreactor with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
ddev get ddev/ddev-pdfreactor
ddev restart
ddev php test.php
}

0 comments on commit def6b2a

Please sign in to comment.