From b96d95be3a11c9ff26c3550b4df8e564dd6d6330 Mon Sep 17 00:00:00 2001 From: kabbeck Date: Wed, 24 Jul 2024 16:19:25 +0200 Subject: [PATCH] docs: How to run ploy with pipenv --- docs/deployment/index.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/deployment/index.rst b/docs/deployment/index.rst index 008e0962..cb151cd7 100644 --- a/docs/deployment/index.rst +++ b/docs/deployment/index.rst @@ -253,3 +253,11 @@ When visiting the page, enter some text into the form and add one or more attach You should then see a success message along with a link to the feedback page for this submission. In addition each editor email configured in ``ploy.conf`` should receive an email with the text of the submission and the cleansed attachments. (for example, if you upload a word document it will be sent to the editors as PDF etc.). + +Ploy locally with pipenv +------------------------ + +On a MacOS with fish shell navigate to `/deployment` folder and generate inside the folder an `etc/ploy.conf`. Then run the script with Pipenv and set LDFLAGS and CPPFLAGS variables (i think you have to install `brew install openssl xz gdbm`):: + + ⋊> ~/b/b/deployment $ ln -s ../../../etc/staging.conf ploy.conf + ⋊> ~/b/b/deployment $ set -gx LDFLAGS "-L$(brew --prefix)/lib" && set -gx CPPFLAGS "-I$(brew --prefix)/include" && pipenv sync