Skip to content

Documentation

Setting up this installation

What a new HackUpon needs before people can use it, in the order to do it.

A new installation lists these steps on its front page for platform administrators, each marked done or not, until every one is done. The settings are environment variables the server reads when it starts; restart it after changing one. The repository's docs/deploying.md and docs/openshift-install.md have the details for each kind of host.

The first administrator

Nobody can be made a platform administrator from inside HackUpon until somebody is one. Sign in once, so you have an account and a handle, then run this on the server, with your handle:

npm run grant:admin -- your-handle

Every later administrator is granted on Platform → Roles.

The site address

SITE_URL is the address people use to reach this installation, such as https://innovation.example.com. Links in email and in Slack or Discord posts are built from it.

Signing in

At least one way to sign in:

  • Single sign-on through your organization's OpenID Connect provider: SSO_ISSUER, SSO_CLIENT_ID, SSO_CLIENT_SECRET, and SSO_NAME for the button.
  • Email links, once email is set up (below).
  • GitHub or Google: AUTH_GITHUB_ID and AUTH_GITHUB_SECRET, or AUTH_GOOGLE_ID and AUTH_GOOGLE_SECRET.

Passkeys can be added by anybody once they are signed in.

Email

SMTP_URL for your own mail server, or RESEND_API_KEY for Resend, and EMAIL_FROM for the sender. Sign-in links, invitations, reminders and campaigns are sent this way.

Files

An S3-compatible bucket for logos, banners, documents and entries' files: STORAGE_ENDPOINT, STORAGE_ACCESS_KEY_ID, STORAGE_SECRET_ACCESS_KEY, STORAGE_PUBLIC_BUCKET and STORAGE_PRIVATE_BUCKET. OpenShift Data Foundation, MinIO, Amazon S3 and Cloudflare R2 all work.

Scheduled jobs

CRON_SECRET, and something that calls the scheduled routes: the Helm chart's CronJobs do this for you. Reminders, the agents' queue, webhooks and repository readings run this way.

The AI agents

The agents are optional. To use them, give a model provider's key (OPENAI_API_KEY, ANTHROPIC_API_KEY or GOOGLE_GENERATIVE_AI_API_KEY) or your own OpenAI-compatible model server (OPENAI_COMPATIBLE_BASE_URL), and choose the model on Platform → Agents, where Check a model tries it.

The first organization and event

Create the organization that runs your events from Organizations → New organization, then its first event from a template, and publish it. Public events appear on the front page.