-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only trigger GitHub actions if relevant files change (#72)
* Add `on.pull_request.paths` to gh actions * Format server/README.md to see if frontend action runs
- Loading branch information
1 parent
054c7d1
commit fad6d89
Showing
4 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ on: | |
pull_request: | ||
branches: | ||
- main | ||
paths: server/** | ||
jobs: | ||
lint-test: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |