Skip to content

Commit fb3b272

Browse files
authored
Merge pull request #496 from sahilds1/187-add-docs
[ADD] Documentation
2 parents baa4438 + 55acb2e commit fb3b272

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

.github/ISSUE_TEMPLATE/issue.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Title
2+
<!-- Title: [Type]: Short description of the problem or goal -->
3+
4+
## Background
5+
<!-- Why does this change need to happen? -->
6+
7+
## Existing Behavior
8+
<!-- What code or docs are changing? Link or paste as needed -->
9+
10+
## Acceptance Criteria
11+
- [] <!-- What does done look like? -->
12+
13+
## Approach
14+
<!-- How are you tackling this? Update as you go -->
15+
16+
## References
17+
<!-- Anything useful — docs, links, decisions -->
18+
19+
## Risks and Rollback
20+
<!-- Anything that could go wrong, or leave blank if low risk -->
21+
22+
## Screenshots / Recordings
23+
<!-- Before/after visuals or console output if helpful -->

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ for patients with bipolar disorder, helping them shorten their journey to stabil
66
## Usage
77

88
You can view the current build of the website here: [https://balancerproject.org/](https://balancerproject.org/)
9+
You can view the website in a sandbox here: [https://sandbox.balancerproject.org/](https://sandbox.balancerproject.org/)
910

1011
## Contributing
1112

@@ -31,11 +32,9 @@ Get the code using git by either forking or cloning `CodeForPhilly/balancer-main
3132
```
3233
2. (Optional) Add your API keys to `config/env/dev.env`:
3334
- `OpenAI API`
34-
- `Anthropic API`
3535

3636
Tools used for development:
3737
1. `Docker`: Install Docker Desktop
38-
2. `Postman`: Ask to get invited to the Balancer Postman team `balancer_dev`
3938
3. `npm`: In the terminal run 1) 'cd frontend' 2) 'npm install' 3) 'cd ..'
4039

4140
### Running Balancer for development
@@ -96,6 +95,14 @@ Most endpoints require JWT authentication. To test them in Swagger UI:
9695
3. **Test endpoints**: All subsequent requests will include your token. Use **Try it out** on any protected endpoint.
9796
4. **Token refresh**: Access tokens expire after 60 minutes. Use `POST /auth/jwt/refresh/` with your `refresh` token, or repeat step 1.
9897

98+
### Deployment
99+
100+
1. Merging your PR into develop automatically triggers a GitHub Release
101+
2. The release triggers a container build workflow that builds and pushes the Docker image
102+
3. [Go to GitHub Packages](https://github.com/CodeForPhilly/balancer-main/pkgs/container/balancer-main%2Fapp) to find the new image tag
103+
4. Update newTag in kustomization.yaml [in the cluster repo](https://github.com/CodeForPhilly/cfp-live-cluster/blob/main/balancer/kustomization.yaml)
104+
5. Open a PR to [cfp-sandbox-cluster](https://github.com/CodeForPhilly/cfp-sandbox-cluster) (or [cfp-live-cluster](https://github.com/CodeForPhilly/cfp-live-cluster))
105+
99106
## Architecture
100107

101108
The Balancer website is a Postgres, Django REST, and React project. The source code layout is:

0 commit comments

Comments
 (0)