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: CONTRIBUTING.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Once you have accepted the GitHub invite (via email or in your GitHub notificati
46
46
47
47
1. Setup two factor authentication on your account https://github.com/hackforla/governance/issues/20
48
48
49
-
These steps are manditory in order to contribute to all HackforLA projects.
49
+
These steps are mandatory in order to contribute to all HackforLA projects.
50
50
51
51
## **Part 2: How to set up the development environment**
52
52
@@ -139,15 +139,15 @@ Note: Understanding how git remotes work will make collaborating much easier. Yo
139
139
140
140
1. Set up Husky for Git hooks (required for all contributors):
141
141
142
-
To help enforce code quality and prevent errors from being committed, we use [Husky](https://typicode.github.io/husky/) to manage Git hooks. Please follow these steps after installing dependencies:
142
+
To help enforce code quality and prevent errors from being committed, we use [Husky](https://typicode.github.io/husky/) to manage Git hooks. Husky should install itself automatically after you install dependencies (thanks to the `prepare` script in `package.json`).
143
143
144
-
- In the root of the project, run:
144
+
If you notice that Git hooks are not working (for example, you don't see linting or formatting checks when committing), you may need to set up Husky manually. To do this, run the following in the root of the project:
145
145
146
-
```sh
147
-
npx husky install
148
-
```
146
+
```sh
147
+
npx husky install
148
+
```
149
149
150
-
- If you encounter issues, see the [Husky documentation](https://typicode.github.io/husky/#/) or reach out on slack!
150
+
If you encounter issues, see the [Husky documentation](https://typicode.github.io/husky/#/) or reach out on Slack!
151
151
152
152
1. Take a second to review the `app.js` and `server.js` files in the `vrms/backend` folder. These two files are a blueprint for the back end, so please familiarize yourself with it. You'll see folders for the database collection models, routes for the API, and a config file which loads the necessary environment variables.
153
153
@@ -176,7 +176,7 @@ To run all of the tests run `npm run test:all` from the root folder.
176
176
177
177
### **2.5 Using the development database**
178
178
179
-
The application uses MongoDB. We have created a shared development database using MongoDB Cloud and MongoDB Atlas. The conection string for the development database is included in the environmental variables that you pasted into your backend/.env file in step 5 of the "Get Up and Running" setion. If you completed that step successfully you should not need to do anything else.
179
+
The application uses MongoDB. We have created a shared development database using MongoDB Cloud and MongoDB Atlas. The connection string for the development database is included in the environmental variables that you pasted into your backend/.env file in step 5 of the "Get Up and Running" section. If you completed that step successfully you should not need to do anything else.
180
180
181
181
To view and edit the development database manually, you can download [MongoDB Compass](https://www.mongodb.com/try/download/compass). To connect to the development database you will use the "DATABASE_URL" from the [document](https://docs.google.com/document/d/1yDF6UmyO-MPNrl3y_Mw0mkm_WaixlSkXzWbudCzHXDY/edit?usp=sharing) that contained the environmental variables. The string will start with "mongodb+srv://".
0 commit comments