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

Only trigger GitHub actions if relevant files change #72

Merged
merged 2 commits into from
Jan 27, 2025
Merged
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
1 change: 1 addition & 0 deletions .github/workflows/auto-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Auto Comment on PRs
on:
pull_request:
types: [opened]
paths: server/**
jobs:
auto-comment:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/backend-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
pull_request:
branches:
- main
paths: server/**
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/frontend-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Frontend - Linting
on:
pull_request:
branches: [main]
paths: client/**
jobs:
Linux:
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion server/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
## Setup

1. Copy `.env.example` to `.env` and fill in the values
2. Add Firebase Admin credentials to a file named `firebaseServiceAccountKey.json`, at the same level as the `.env` file.
3. Start up Docker Desktop
4. Spin up Postgres:

```bash
docker-compose --env-file .env up
```

## Directly querying Postgres on a local build using `psql`
psql -h localhost -p 5432 -U acmucsd_dev -d hackathon_portal

psql -h localhost -p 5432 -U acmucsd_dev -d hackathon_portal
Loading