feat: add zstd installation to Dockerfiles and update README for ChatGPT sign-in support
This commit is contained in:
parent
afa60af22c
commit
c6dfe2b38a
3 changed files with 23 additions and 4 deletions
|
|
@ -6,7 +6,8 @@ RUN apt-get update && apt-get install -y \
|
|||
curl \
|
||||
libreoffice \
|
||||
fontconfig \
|
||||
chromium
|
||||
chromium \
|
||||
zstd
|
||||
|
||||
|
||||
# Install Node.js 20 using NodeSource repository
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@ RUN apt-get update && apt-get install -y \
|
|||
curl \
|
||||
libreoffice \
|
||||
fontconfig \
|
||||
chromium
|
||||
chromium \
|
||||
zstd
|
||||
|
||||
# Install Node.js 20 using NodeSource repository
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
||||
|
|
@ -24,7 +25,7 @@ ENV TEMP_DIRECTORY=/tmp/presenton
|
|||
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
|
||||
|
||||
# Install ollama
|
||||
# RUN curl -fsSL http://ollama.com/install.sh | sh
|
||||
RUN curl -fsSL http://ollama.com/install.sh | sh
|
||||
|
||||
# Install dependencies for FastAPI
|
||||
RUN pip install aiohttp aiomysql aiosqlite asyncpg fastapi[standard] \
|
||||
|
|
|
|||
19
README.md
19
README.md
|
|
@ -49,6 +49,7 @@ Presenton gives you complete control over your AI presentation workflow. Choose
|
|||
- ✅ **Fully Open-Source** — Apache 2.0 licensed, inspect, modify, and contribute
|
||||
- ✅ **Docker Ready** — One-command deployment with GPU support for local models
|
||||
- ✅ **Electron Desktop App** — Run Presenton as a native desktop application on Windows, macOS, and Linux (no browser required)
|
||||
- ✅ **Sign in with ChatGPT** — Use your free or paid ChatGPT account to sign in and start creating presentations instantly — no separate API key required
|
||||
|
||||
## Presenton Cloud
|
||||
|
||||
|
|
@ -68,7 +69,7 @@ You can run Presenton in two ways: **Docker** for a one-command setup without in
|
|||
##### Linux/MacOS (Bash/Zsh Shell):
|
||||
|
||||
```bash
|
||||
docker run -it --name presenton -p 5000:80 -v "./app_data:/app_data" ghcr.io/presenton/presenton:latest
|
||||
docker run -it --name presenton -p 5000:80 -v "./app_data:/app_data" ghcr.io/presenton/presenton:latest
|
||||
```
|
||||
|
||||
##### Windows (PowerShell):
|
||||
|
|
@ -83,6 +84,22 @@ Open http://localhost:5000 on browser of your choice to use Presenton.
|
|||
|
||||
> **Note: You can replace 5000 with any other port number of your choice to run Presenton on a different port number.**
|
||||
|
||||
#### (Optional) Enable Codex Auth — Sign in with ChatGPT
|
||||
|
||||
If you want to sign in with your free or paid ChatGPT account, also expose port `1455` for Codex auth support:
|
||||
|
||||
##### Linux/MacOS:
|
||||
|
||||
```bash
|
||||
docker run -it --name presenton -p 5000:80 -p 1455:1455 -v "./app_data:/app_data" ghcr.io/presenton/presenton:latest
|
||||
```
|
||||
|
||||
##### Windows (PowerShell):
|
||||
|
||||
```bash
|
||||
docker run -it --name presenton -p 5000:80 -p 1455:1455 -v "${PWD}\app_data:/app_data" ghcr.io/presenton/presenton:latest
|
||||
```
|
||||
|
||||
### Option 2: Electron (Desktop App)
|
||||
|
||||
Run Presenton as a native desktop application. LLM and image provider (API keys, etc.) can be configured in the app; the same environment variables used for Docker apply when running the bundled backend.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue