Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 582 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 582 Bytes

Cockpit CMS Proxy

A simple proxy to fetch assets from Cockpit CMS.


Install nix package manager to manage dependencies.

Start a nix shell with

nix-shell

Set the environment variables for your Cockpit CMS:

export COCKPIT_BASE_URL=https://example.com
export COCKPIT_API_TOKEN=1234
export TARGET_HOST=localhost
export TARGET_PORT=8080
export PORT=8000

Run the proxy with the command:

gleam run