Skip to content

Commit 971265e

Browse files
fix: add environment config step and submodule init per review feedback
1 parent 5071629 commit 971265e

1 file changed

Lines changed: 20 additions & 6 deletions

File tree

CONTRIBUTING.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,36 @@ Thank you for contributing to the Health and Wellness Centre Angular project!
1111
## Local Setup
1212

1313
1. **Clone the repository**
14-
```bash
15-
git clone <repository-url>
14+
```bash
15+
git clone https://github.com/PSMRI/HWC-UI.git
1616
cd HWC-UI
17-
```
17+
git submodule update --init --recursive
18+
```
1819

1920
2. **Install dependencies**
2021
```bash
2122
npm install
2223
```
2324

24-
3. **Start the development server**
25-
```bash
25+
3. **Configure environment**
26+
```bash
27+
cp src/environments/environment.example.ts src/environments/environment.ts
28+
```
29+
Update `environment.ts` with your local API URLs:
30+
```typescript
31+
export const environment = {
32+
production: false,
33+
apiUrl: 'http://localhost:8080/api'
34+
};
35+
```
36+
37+
4. **Start the development server**
38+
```bash
2639
npm start
27-
```
40+
```
2841
Navigate to `http://localhost:4200/`
2942

43+
3044
## Branch Naming Conventions
3145

3246
Follow these naming patterns:

0 commit comments

Comments
 (0)