Skip to content

MarcoDaniels/cockpit-cms-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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