You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+11-4
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# VA.gov CMS
2
2
3
-
This is the public/open documentation for the VA.gov Content Management System (CMS). The private/sensitive documentation is [here](https://github.com/department-of-veterans-affairs/va.gov-team-sensitive/tree/master/platform/cms). See [sensitive-guidance.md](https://github.com/department-of-veterans-affairs/va.gov-team/blob/master/platform/working-with-vsp/policies-work-norms/sensitive-guidance.md) to read about what should be public vs. private. We follow the U.S. Digital Services Playbook and [default to open/public](https://playbook.cio.gov/#play13)).
3
+
This is the public/open documentation for the VA.gov Content Management System (CMS) for development, QA and DevOps topics. For product, design, support, research and cross-team documentation, visit the [platform/cms docs](https://github.com/department-of-veterans-affairs/va.gov-team/tree/master/platform/cms). For private/sensitive documentation, visit the [private docs repo](https://github.com/department-of-veterans-affairs/va.gov-team-sensitive/tree/master/platform/cms). See [sensitive-guidance.md](https://github.com/department-of-veterans-affairs/va.gov-team/blob/master/platform/working-with-vsp/policies-work-norms/sensitive-guidance.md) to read about what should be public vs. private. We follow the U.S. Digital Services Playbook and [default to open/public](https://playbook.cio.gov/#play13)).
4
4
5
5
[VA.gov](https://www.va.gov) is constructed at the highest level by three projects:
6
6
- the **CMS** or **Content Management System**, in this repository
Copy file name to clipboardexpand all lines: READMES/codeowners.md
+4
Original file line number
Diff line number
Diff line change
@@ -27,3 +27,7 @@ The important ideas are:
27
27
6. Viewing the CODEOWNERS file in GitHub should provide debugging information.
28
28
29
29
As with everything else in this project, CODEOWNERS is subject to continual refinement and development. Please raise issues and suggest improvements where appropriate.
Copy file name to clipboardexpand all lines: READMES/getting-started.md
+18-37
Original file line number
Diff line number
Diff line change
@@ -13,31 +13,12 @@ See [the Codespaces README](./codespaces.md) to get a fully functional cloud-bas
13
13
14
14
## Step 1: Get Source Code / Git Setup
15
15
16
-
- Fork the repo by pressing the "Fork" button: [github.com/department-of-veterans-affairs/va.gov-cms](https://github.com/department-of-veterans-affairs/va.gov-cms)
17
-
- Clone your fork.
16
+
- Clone the repo: [github.com/department-of-veterans-affairs/va.gov-cms](https://github.com/department-of-veterans-affairs/va.gov-cms)
3. Change into the project directory and run `ddev start`:
62
+
63
+
```bash
64
+
$ ddev start
65
+
```
85
66
86
-
The `ddev start` command will include the `composer install` command.
67
+
The `ddev start` command will include the `composer install` command. Ensure that a CMS account is created and [Step 3](#step-3-sync-your-local-site-with-production-data) is run to sync login information before logging into the local CMS environment.
87
68
88
69
See [Environments: Local](./local.md) for more information on ddev.
89
70
@@ -96,7 +77,7 @@ correct locations in your local development environment.
96
77
97
78
-`ddev pull va ` or `ddev pull va --skip-files`
98
79
99
-
NOTE: This command downloads and impoorts the db followed by any configuration import.
80
+
NOTE: This command downloads and imports the db followed by any configuration import.
100
81
101
82
If you are not using ddev, the scripts will
102
83
fail, but the files will still be available. The `sync-db.sh` script downloads the
Copy file name to clipboardexpand all lines: READMES/github-workflows.md
+4
Original file line number
Diff line number
Diff line change
@@ -23,3 +23,7 @@ Please follow the following guidelines:
23
23
- If you need to check that a given workflow or action still triggers as expected, consider running the scripts `scripts/create-bad-test-files.sh` and `scripts/delete-bad-test-files.sh` to respectively create and delete files that can be used to test lints and checks.
24
24
25
25
See ["Security hardening for GitHub Actions"](https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions) for more details concerning GitHub Actions and security.
Copy file name to clipboardexpand all lines: READMES/https.md
+15-9
Original file line number
Diff line number
Diff line change
@@ -14,15 +14,21 @@ If you see a message from your browser like the following:
14
14
15
15
Click the "^" button and select "Keep."
16
16
17
-
### OSX
18
-
1. Open Keychain Access
19
-
1. Go to Certificates (under Category in left sidebar)
20
-
2. Select "System" under Keychains (in sidebar)
21
-
3. Select "Import Items..." from File menu. (Shift-Command-I)
22
-
4. Select the three .cer files above.
23
-
5. They should now appear in your list of certificates
24
-
6. For each certificate: 1) File > Get info 2) Under Trust > When using this certificate, select "Always Trust". 3) Close the Get info window, which will prompt a password save.
25
-
7. You may need to restart your browser.
17
+
### macOS (as of 13.4)
18
+
1. Import the certificates.
19
+
1. Open Keychain Access
20
+
1. Select "System" under System Keychains (in sidebar)
21
+
<imgsrc="images/macos-keychains.png"height="200">
22
+
1. Select "Import Items..." from File menu. (Shift-Command-I)
23
+
1. Select the three .cer files above.
24
+
1. They should now appear in your list of certificates under the "Keychain Access" view
25
+
1. Trust each certificate.
26
+
1. For each of the three certificates, select it
27
+
1. File > Get info (Command-I)
28
+
1. Expand the "Trust" view
29
+
1. In the "When using this certificate" popup button, select "Always Trust".
30
+
1. Close the "Get Info" window, which will prompt a password save.
Copy file name to clipboardexpand all lines: READMES/interfaces.md
+4
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,10 @@ and common calls look like:
63
63
64
64
* Since this is a React widget displaying dynamic data it’s not using Metalsmith templates. The .jsx component files to support rendering are located in https://github.com/department-of-veterans-affairs/vets-website/tree/main/src/applications/facility-locator/components
65
65
66
+
## JSON API
67
+
68
+
See [JSON:API](jsonapi.md)
69
+
66
70
## Mirrors
67
71
68
72
There are environments which exist in [Tugboat](tugboat.md) that provide a mirror of Prod. The content and code are updated daily at 3am EST on the mirrors. The list of mirrors can be found in the "[Mirrors (refreshed daily from PROD at 3am ET)](https://tugboat.vfs.va.gov/6042eeed6a89945a99399d3d)" project in tugboat. Contact CMS Support in the #cms-support Slack channel to request a new mirror.
-[Strategy](https://va-gov.atlassian.net/wiki/spaces/CMSQA/pages/1814724630/Quality+Assurance+and+Testing+Strategy) -- an outline of the strategy we use to evaluate issues impacting QA, and how we address them in practice.
7
+
- CMS-QA Confluence Space
8
+
-[Strategy](https://vfs.atlassian.net/wiki/spaces/~821090906/pages/2304933915/Quality+Assurance+and+Testing+Strategy) -- an outline of the strategy we use to evaluate issues impacting QA, and how we address them in practice.
9
9
-[Current Challenges](https://va-gov.atlassian.net/wiki/spaces/CMSQA/pages/1812987905/Current+Challenges+Facing+the+Project) -- a survey of some of the more noteworthy QA challenges identified at this time, and how we're attempting to assess and deal with them.
The Content API has no PII or PHI on it and is a replacement for the public, open source [content repo](https://github.com/department-of-veterans-affairs/vagov-content).
7
+
The Content API has no PII or PHI on it and is a replacement for the public, open source [content repo](https://github.com/department-of-veterans-affairs/vagov-content).
8
8
9
-
A sanitized database is available in a public S3 bucket (for open source development purposes) since all the configuration is already open source in [this repository](https://github.com/department-of-veterans-affairs/va.gov-cms/).
9
+
A sanitized database is available in a public S3 bucket (for open source development purposes) since all the configuration is already open source in [this repository](https://github.com/department-of-veterans-affairs/va.gov-cms/).
10
10
11
11
The sanitized version removes all email addresses and resets to a commonly known development password.
Copy file name to clipboardexpand all lines: READMES/workflow.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,15 @@
17
17
1. Write a manual to test ticket completion.
18
18
19
19
## Git
20
-
To avoid cluttering up the repo with lots of branches, fork the repo and push your branches to your fork and make your pull request from your fork to the upstream repo. You can use the GitHub CLI, [`gh`](https://cli.github.com/), to make PRs from the command line much faster. Or after you push you will see a link in the output to ctrl + click and create a new PR from the branch you just pushed. [Getting started](./getting-started.md).
20
+
In this repo, we recommend working in individual branches and creating PRs to merge the branches to main. You can use the GitHub CLI, [`gh`](https://cli.github.com/), to make PRs from the command line much faster. Or after you push you will see a link in the output to ctrl + click and create a new PR from the branch you just pushed. See [Getting started](./getting-started.md) for more details.
21
21
22
22
### Branches
23
23
We are currently working off a single `main` branch. `main` is protected and requires both approval from code review and passing tests to be merged. Commits within pull requests are squashed and merged when they are accepted so that the only relate to one git commit, even if they originally contained multiple commits, the commit messages are added as a bulleted list so they are retained in the merge commit.
1.`ddev pull va --skip-files` or `ddev pull va` idf you need managed files (images and pdfs)
@@ -34,15 +34,15 @@ We are currently working off a single `main` branch. `main` is protected and req
34
34
1. Fix code formatting issues with CodeSniffer, Drupal standard (linters should run automatically upon trying to commit).
35
35
1. Commit your changes. Each commit should be logically atomic (e.g. module adds in one commit, config in another, custom code in additional logical commits), and your commit messages should follow the pattern: "VACMS-123: A grammatically correct sentence starting with an action verb and ending with punctuation."
36
36
_Example: VACMS-1234 Add configuration for menu reduction._
37
-
1. Push work to your fork of the repository so a Pull Request may be created
38
-
`git push myfork <branchname>`
37
+
1. Push work in your branch to the remote repository so a Pull Request may be created
38
+
`git push origin <branchname>`
39
39
1. Once your PR is merged it will be automatically deployed to staging.cms.va.gov. If it is merged before 2:30pm ET and tests pass it will be in the daily, scheduled deploy to prod.cms.va.gov at 3:30pm ET.
40
40
41
41
While working on your own branch, you may have to rebase it on main which will make it out of sync with your remote branch and will require you to force push to your branch.
42
42
43
43
### When is it ok to do a force push (-f)?
44
44
45
-
On the upstream repo, never. On your own fork, it is perfectly acceptable to do force pushes. If you have recently rebased your branch on main, you may have to do a force push to your fork. When in doubt, ask in Slack.
45
+
It is never ok to force push to the main branch or an integration branch where other folks may be working from. On your own branch, it is perfectly acceptable to do force pushes. If you have recently rebased your branch on main, you may have to do a force push to your branch. When in doubt, ask in Slack.
46
46
47
47
### Pull Request Norms
48
48
* Pull requests should be made against the `main` branch.
0 commit comments