Skip to content

ducompsoc/durhack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DurHack 2025 Website

This repository is the latest website for DurHack.

We're hosting the client project using Netlify at durhack.com. Any changes to the main branch are deployed automatically.

The archive/xyz branches are also deployed using Netlify.

We're hosting the server project on an IONOS VPS at api.durhack.com. Changes to the main branch are not deployed automatically.

Setup for Contributors

  1. Complete durhack-nginx setup
  2. Install a local PostgreSQL server instance
  3. Create a new user, e.g. durhack in your PostgreSQL instance with the CREATEDB permission
    CREATE USER durhack WITH PASSWORD 'durhack' CREATEDB;
    -- or
    CREATE USER durhack WITH PASSWORD 'durhack';
    ALTER ROLE durhack WITH CREATEDB;
  4. In the common directory, run pnpm build
  5. In the server directory, create a .env file (edit to reflect your database user/password):
    DATABASE_URL="postgresql://durhack:durhack@localhost:5432/durhack?schema=public"
  6. In the server/config directory, create a local.ts file (ask DurHack chief tech officer for a real client secret):
    import type { ConfigIn } from "@/config/schema"
    import type { DeepPartial } from "@/types/deep-partial"
    
    export default {
      keycloak: {
        clientId: "api.durhack-dev.com",
        clientSecret: "not-a-real-client-secret",
     },
    } satisfies DeepPartial<ConfigIn>
  7. In the server directory, run pnpm exec prisma migrate dev
  8. In the server directory, run pnpm generate

Questions, Comments and Concerns

Drop us a line at hello@durhack.com!

About

🎊 DurHack website @ durhack.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 20

Languages