Skip to content

Commit 5d45cb4

Browse files
Updated README
1 parent 2e23063 commit 5d45cb4

File tree

1 file changed

+44
-10
lines changed

1 file changed

+44
-10
lines changed

README.md

+44-10
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,45 @@ Clone the repository
88

99
#### Running the Django Project
1010

11-
Move into server directory (django)
11+
> Move into server directory (django):
12+
```
13+
cd server
14+
```
15+
16+
> Create virtual environment
17+
18+
- On WindowsOS
19+
20+
```
21+
python -m venv <path to venv>
22+
```
23+
24+
> Activate virtual environment
25+
26+
- On WindowsOS
27+
28+
- Using bash:
29+
```
30+
source <venv>/Scripts/activate
31+
```
1232

13-
Create virtual environment
33+
- Using CMD:
34+
```
35+
<venv>\Scripts\activate.bat
36+
```
1437

15-
Activate virtual environment
38+
- Using PowerShell:
39+
```
40+
<venv>\Scripts\Activate.ps1
41+
```
1642

17-
Install requirements
43+
> Install requirements
1844
19-
Run migrations:
45+
```
46+
pip install django djangorestframework django-cors-headers
47+
```
48+
49+
> Run migrations:
2050
2151
```
2252
python manage.py makemigrations
@@ -26,25 +56,29 @@ python manage.py makemigrations
2656
python manage.py migrate
2757
```
2858

29-
Run on port 8000:
59+
> Run on port 8000:
3060
3161
```
3262
python manage.py runserver
3363
```
3464

3565
### Running the ReactJS Project
3666

37-
Move into client directory (ReactJS)
67+
> Move into client directory (ReactJS)
68+
69+
```
70+
cd client
71+
```
3872

39-
Install dependencies
73+
> Install dependencies
4074
4175
```
4276
npm install
4377
```
4478

45-
Create .env file using .env.sample
79+
> Create .env file using .env.sample
4680
47-
Start the project
81+
> Start the project
4882
4983
```
5084
npm start

0 commit comments

Comments
 (0)