Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ DATABASE_URL="mysql://root:root@localhost/track-the-hack"
# NEXTAUTH_SECRET=
NEXTAUTH_URL=http://localhost:3000


# Next Auth Google Provider
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
Expand Down Expand Up @@ -49,3 +50,6 @@ QR_SECRET_KEY=

# Walk-Ins
WALK_IN_SECRET_KEY=

# Open date for applications
NEXT_PUBLIC_APPLICATIONS_OPEN_AT=2025-6-24T00:00:00Z
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
cache: "npm"

- name: Install dependencies
run: npm ci --prefer-offline --no-audit
run: npm ci

- name: Create .env file
run: node ./.github/workflows/create-env.mjs "$SECRETS" "$VARS"
Expand All @@ -32,7 +32,7 @@ jobs:
run: npm run build

- name: Deploy to production directory
run: rsync -avz --delete --exclude='.git' ./ /home/azure/track-the-hack/
run: rsync -avz --delete ./ /home/azure/track-the-hack/

- name: Update the database schema
working-directory: /home/azure/track-the-hack
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Track the Hack is a comprehensive event management solution designed to streamli
## Self-host the database

1. Install [Docker](https://docs.docker.com/get-docker/).
2. Run `docker compose up -d` to start the database.
3. Run `npx prisma db push` to push the database schema and create the tables.
2. Run `npx prisma db push` to push the database schema and create the tables.
3. Run `docker compose up -d` to start the database.
4. Run `npx prisma db seed` to seed the database.

## Contributing
Expand All @@ -25,6 +25,6 @@ If you're part of the Hack the Hill team, refer to our [Contribution guidelines]

## Contact

For inquiries, please contact us at [development@ctn-rtc.org](mailto:development@ctn-rtc.org).
For inquiries, please contact us at [development@hackthehill.com](mailto:development@hackthehill.com).

Copyright © 2023 Hack the Hill. All Rights Reserved.
Loading
Loading