mirror of
https://github.com/hoshikawa2/openclaw-oci-pptx.git
synced 2026-03-06 10:11:02 +00:00
First commit
This commit is contained in:
@@ -177,7 +177,7 @@ content.json (validated / governed)
|
||||
↓
|
||||
PPTX Builder (template + content.json)
|
||||
↓
|
||||
openclaw_oci_apresentacao.pptx
|
||||
openclaw_oci_presentation.pptx
|
||||
```
|
||||
|
||||
---
|
||||
@@ -391,7 +391,7 @@ export OPENCLAW_WORKDIR="$HOME/.openclaw/workspace/openclaw_folder"
|
||||
|
||||
# Template + output
|
||||
export PPTX_TEMPLATE_PATH="$OPENCLAW_WORKDIR/template_openclaw_oci_clean.pptx"
|
||||
export PPTX_OUTPUT_PATH="$OPENCLAW_WORKDIR/openclaw_oci_apresentacao.pptx"
|
||||
export PPTX_OUTPUT_PATH="$OPENCLAW_WORKDIR/openclaw_oci_presentation.pptx"
|
||||
|
||||
# Content JSON (if not set, defaults to $OPENCLAW_WORKDIR/content.json)
|
||||
export OCI_CONTENT_FILE="$OPENCLAW_WORKDIR/content.json"
|
||||
|
||||
@@ -10,7 +10,9 @@ $HOME/.openclaw/workspace/openclaw_folder
|
||||
Execute:
|
||||
cd $HOME/.openclaw/workspace/openclaw_folder
|
||||
|
||||
----------------------------------------------
|
||||
STEP 1 – PREPARATION (MANDATORY)
|
||||
----------------------------------------------
|
||||
|
||||
The file generate_openclaw_ppt_template.py is located in $HOME/.openclaw/workspace/openclaw_folder
|
||||
The file read_url is located in $HOME/.openclaw/workspace/openclaw_folder
|
||||
@@ -21,7 +23,7 @@ Required:
|
||||
read_url for links
|
||||
read_file for local files
|
||||
|
||||
🔄 GITHUB LINK HANDLING (REQUIRED)
|
||||
GITHUB LINK HANDLING (REQUIRED)
|
||||
|
||||
If the link contains:
|
||||
github.com/.../blob/...
|
||||
@@ -67,7 +69,9 @@ Only after successful validation:
|
||||
(exec export OCI_LINK_DEMO="<url>")
|
||||
(exec python generate_openclaw_ppt_template.py)
|
||||
|
||||
STEP 4 – MODIFICATION VALIDATION [STRICT VERSION]
|
||||
----------------------------------------------
|
||||
STEP 2 – MODIFICATION VALIDATION [STRICT VERSION]
|
||||
----------------------------------------------
|
||||
|
||||
Before running:
|
||||
|
||||
@@ -76,7 +80,9 @@ Before running:
|
||||
- Verify that each chapter contains at least 1 piece of evidence.
|
||||
If it fails → ABORT.
|
||||
|
||||
STEP 5 – EXECUTION
|
||||
----------------------------------------------
|
||||
STEP 3 – EXECUTION
|
||||
----------------------------------------------
|
||||
|
||||
Only now execute:
|
||||
|
||||
@@ -86,15 +92,18 @@ SET THE ENVIRONMENT VARIABLE WITH THE FILE NAME GENERATED WITH CONTENT READ FROM
|
||||
|
||||
`python $HOME/.openclaw/workspace/openclaw_folder/generate_openclaw_ppt_template.py`
|
||||
|
||||
STEP 6 – UPLOAD
|
||||
----------------------------------------------
|
||||
STEP 4 – UPLOAD
|
||||
----------------------------------------------
|
||||
|
||||
First, delete the file in object storage: `openclaw_oci_presentation.pptx`
|
||||
|
||||
And only then upload it to Object Storage: `oci os object put \
|
||||
--bucket-name hoshikawa_template \
|
||||
--file` $HOME/.openclaw/workspace/openclaw_folder/openclaw_oci_presentation.pptx \
|
||||
|
||||
--force
|
||||
|
||||
STEP 7 – GENERATE PRE-AUTH LINK
|
||||
----------------------------------------------
|
||||
STEP 5 – GENERATE PRE-AUTH LINK
|
||||
----------------------------------------------
|
||||
oci os preauth-request create ...
|
||||
Reference in New Issue
Block a user