Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: docker compose #1

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

feat: docker compose #1

wants to merge 2 commits into from

Conversation

kwaa
Copy link
Member

@kwaa kwaa commented Feb 24, 2024

I'm not quite sure how to test it at the moment, It feels like git config is going to be the hard part.

Users need to git clone user/repo and configure environment variables ($CMS_DEPLOY_DOMAIN) first.

// serve.ts
import site from "./_config.ts";
import cms from "./_cms.ts";
import { adapter } from "lume/cms.ts";

const app = await adapter({ site, cms });

Deno.serve(app.fetch);
# .env
CMS_DEPLOY_DOMAIN = "example.com"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant